- May 21, 2009
-
-
Douglas Gregor authored
llvm-svn: 72199
-
Douglas Gregor authored
passes the "isStmtExpr" flag, to suppress warnings about unused expressions. llvm-svn: 72190
-
Douglas Gregor authored
llvm::SmallVector that owns all of the AST nodes inside of it. This RAII class is used to ensure proper destruction of AST nodes when template instantiation fails. llvm-svn: 72186
-
- May 20, 2009
-
-
Douglas Gregor authored
temporaries are generated for some object-constructing expressions in templates that are not type-dependent. Also, be sure to introduce the variable from a CXXConditionDeclExpr into the set of instantiated local variables. llvm-svn: 72185
-
Douglas Gregor authored
due to C++ type construction of the form T(a1, a2, ..., aN). llvm-svn: 72183
-
Douglas Gregor authored
describe the construction of a value of a given type using function syntax, e.g., T(a1, a2, ..., aN) when the type or any of its arguments are type-dependent. In this case, we don't know what kind of type-construction this will be: it might construct a temporary of type 'T' (which might be a class or non-class type) or might perform a conversion to type 'T'. Also, implement printing of and template instantiation for this new expression type. Due to the change in Sema::ActOnCXXTypeConstructExpr, our existing tests cover template instantiation of this new expression node. llvm-svn: 72176
-
Fariborz Jahanian authored
Still more to do. llvm-svn: 72173
-
Zhongxing Xu authored
llvm-svn: 72158
-
Douglas Gregor authored
need template instantiation logic. Remove one FIXME by instantiating the callee in a non-type-dependent CXXOperatorCallExpr. llvm-svn: 72145
-
Douglas Gregor authored
llvm-svn: 72144
-
Douglas Gregor authored
llvm-svn: 72143
-
Douglas Gregor authored
and it isn't clear exactly what it's supposed to mean. Thanks Eli! llvm-svn: 72142
-
Douglas Gregor authored
llvm-svn: 72139
-
- May 19, 2009
-
-
Douglas Gregor authored
llvm-svn: 72134
-
Douglas Gregor authored
llvm-svn: 72129
-
Douglas Gregor authored
operator in C++, and verify that template instantiation for the condition operator does the right thing. llvm-svn: 72127
-
Douglas Gregor authored
llvm-svn: 72126
-
Douglas Gregor authored
llvm-svn: 72119
-
Fariborz Jahanian authored
llvm-svn: 72111
-
Anders Carlsson authored
llvm-svn: 72102
-
Anders Carlsson authored
When assigning from an rvalue to a const reference, the implicit cast from T -> const T is not an lvalue cast. llvm-svn: 72082
-
Douglas Gregor authored
llvm-svn: 72081
-
Douglas Gregor authored
easier than expected because of the limitation that subscript operators must be member functions. llvm-svn: 72076
-
Fariborz Jahanian authored
can be processed. No change in functionality. llvm-svn: 72066
-
Douglas Gregor authored
llvm-svn: 72058
-
Douglas Gregor authored
llvm-svn: 72048
-
- May 18, 2009
-
-
Douglas Gregor authored
statement was using an rvalue reference during the template definition. However, template instantiations based on an lvalue reference type are well-formed, so we delay checking of these property until template instantiation time. llvm-svn: 72041
-
Fariborz Jahanian authored
checking when block is envoked. In progress. llvm-svn: 72039
-
Douglas Gregor authored
llvm-svn: 72035
-
Douglas Gregor authored
kinds of statements (in the instantiation logic). No functionality change, but now we'll get linker errors if we add a statement but forget to introduce its instantiation logic. llvm-svn: 72031
-
Douglas Gregor authored
llvm-svn: 72027
-
Fariborz Jahanian authored
llvm-svn: 72020
-
Douglas Gregor authored
template, introduce that member function into the template instantiation stack. Also, add diagnostics showing the member function within the instantiation stack and clean up the qualified-name printing so that we get something like: note: in instantiation of member function 'Switch1<int, 2, 2>::f' requested here in the template instantiation backtrace. llvm-svn: 72015
-
- May 17, 2009
-
-
Anders Carlsson authored
llvm-svn: 71990
-
Anders Carlsson authored
llvm-svn: 71989
-
Anders Carlsson authored
llvm-svn: 71988
-
Anders Carlsson authored
llvm-svn: 71984
-
Anders Carlsson authored
llvm-svn: 71983
-
Anders Carlsson authored
llvm-svn: 71982
-
Anders Carlsson authored
llvm-svn: 71979
-