Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Properly diagnose using abstract and incomplete types in va_arg | David Majnemer | 2011-06-14 | 1 | -9/+0 |
| | | | | | | | - Move a test from test/SemaTemplate/instantiate-expr-3.cpp, it did not belong there - Incomplete and abstract types are considered hard errors llvm-svn: 132979 | ||||
* | Give a diagnostic when using non-POD types in a va_arg | David Majnemer | 2011-06-13 | 1 | -0/+9 |
| | | | | llvm-svn: 132905 | ||||
* | Continue to instantiate sub-statements in a CompoundStmt as long as | John McCall | 2010-08-27 | 1 | -3/+7 |
| | | | | | | | we don't see a DeclStmt (failure to instantiate which generally causes panic). llvm-svn: 112282 | ||||
* | When instantiating statements that involve conditions (if, while, do, | Douglas Gregor | 2010-05-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | for, and switch), be careful to construct the full expressions as soon as we perform template instantation, so we don't either forget to call temporary destructors or destroy temporaries at the wrong time. This is the template-instantiation analogue to r103187, during which I hadn't realized that the issue would affect the handling of these constructs differently inside and outside of templates. Fixes a regression in Boost.Function. llvm-svn: 103357 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -1/+1 |
| | | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446 | ||||
* | Template instantiation for ExtVectorElementExpr. | Douglas Gregor | 2009-05-22 | 1 | -36/+0 |
| | | | | llvm-svn: 72299 | ||||
* | Fix template instantiation for compound statements so that it properly | Douglas Gregor | 2009-05-20 | 1 | -1/+1 |
| | | | | | | | passes the "isStmtExpr" flag, to suppress warnings about unused expressions. llvm-svn: 72190 | ||||
* | Tweak test case so that the expected-error text matches on both i686 and x86-64. | Douglas Gregor | 2009-05-20 | 1 | -1/+1 |
| | | | | llvm-svn: 72181 | ||||
* | Add a va_list/template instantiation test suggested by Eli | Douglas Gregor | 2009-05-20 | 1 | -0/+14 |
| | | | | llvm-svn: 72178 | ||||
* | Add FIXMEs for the remaining C and C++ expression types that still | Douglas Gregor | 2009-05-19 | 1 | -1/+20 |
| | | | | | | | need template instantiation logic. Remove one FIXME by instantiating the callee in a non-type-dependent CXXOperatorCallExpr. llvm-svn: 72145 | ||||
* | Template instantiation for __builtin_va_arg. | Douglas Gregor | 2009-05-19 | 1 | -0/+16 |
| | | | | llvm-svn: 72144 | ||||
* | Template instantiation for __builtin_choose_expr. | Douglas Gregor | 2009-05-19 | 1 | -0/+15 |
| | | | | llvm-svn: 72143 | ||||
* | Ban the use of __builtin_types_compatible_p in C++; g++ doesn't support it, | Douglas Gregor | 2009-05-19 | 1 | -12/+0 |
| | | | | | | and it isn't clear exactly what it's supposed to mean. Thanks Eli! llvm-svn: 72142 | ||||
* | Template instantiation for __builtin_shufflevector. | Douglas Gregor | 2009-05-19 | 1 | -0/+16 |
| | | | | llvm-svn: 72139 | ||||
* | Template instantiation for __builtin_types_compatible_p. | Douglas Gregor | 2009-05-19 | 1 | -0/+12 |
| | | | | llvm-svn: 72134 | ||||
* | Template instantiation for GNU statement expressions | Douglas Gregor | 2009-05-19 | 1 | -0/+13 |
| | | | | llvm-svn: 72129 | ||||
* | Fix handling of the GNU "t ? : f" extension to the conditional | Douglas Gregor | 2009-05-19 | 1 | -0/+18 |
| | | | | | | | operator in C++, and verify that template instantiation for the condition operator does the right thing. llvm-svn: 72127 | ||||
* | Template instantiation for compound assignment operators. | Douglas Gregor | 2009-05-19 | 1 | -0/+29 |
| | | | | llvm-svn: 72126 | ||||
* | Template instantiation for imaginary literals, because they were next in Expr.h | Douglas Gregor | 2009-05-18 | 1 | -0/+11 |
llvm-svn: 72058 |