summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-expr-3.cpp
Commit message (Collapse)AuthorAgeFilesLines
* When diagnosing an ambiguity, only note the candidates that contributeRichard Smith2019-10-241-1/+1
| | | | to the ambiguity, rather than noting all viable candidates.
* Support __builtin_ms_va_list.Charles Davis2015-09-171-3/+32
| | | | | | | | | | | | | | | | | | Summary: This change adds support for `__builtin_ms_va_list`, a GCC extension for variadic `ms_abi` functions. The existing `__builtin_va_list` support is inadequate for this because `va_list` is defined differently in the Win64 ABI vs. the System V/AMD64 ABI. Depends on D1622. Reviewers: rsmith, rnk, rjmccall CC: cfe-commits Differential Revision: http://reviews.llvm.org/D1623 llvm-svn: 247941
* Properly diagnose using abstract and incomplete types in va_argDavid Majnemer2011-06-141-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_argDavid Majnemer2011-06-131-0/+9
| | | | llvm-svn: 132905
* Continue to instantiate sub-statements in a CompoundStmt as long asJohn McCall2010-08-271-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 Gregor2010-05-081-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 Dunbar2009-12-151-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 Gregor2009-05-221-36/+0
| | | | llvm-svn: 72299
* Fix template instantiation for compound statements so that it properlyDouglas Gregor2009-05-201-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 Gregor2009-05-201-1/+1
| | | | llvm-svn: 72181
* Add a va_list/template instantiation test suggested by EliDouglas Gregor2009-05-201-0/+14
| | | | llvm-svn: 72178
* Add FIXMEs for the remaining C and C++ expression types that stillDouglas Gregor2009-05-191-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 Gregor2009-05-191-0/+16
| | | | llvm-svn: 72144
* Template instantiation for __builtin_choose_expr.Douglas Gregor2009-05-191-0/+15
| | | | llvm-svn: 72143
* Ban the use of __builtin_types_compatible_p in C++; g++ doesn't support it,Douglas Gregor2009-05-191-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 Gregor2009-05-191-0/+16
| | | | llvm-svn: 72139
* Template instantiation for __builtin_types_compatible_p.Douglas Gregor2009-05-191-0/+12
| | | | llvm-svn: 72134
* Template instantiation for GNU statement expressionsDouglas Gregor2009-05-191-0/+13
| | | | llvm-svn: 72129
* Fix handling of the GNU "t ? : f" extension to the conditionalDouglas Gregor2009-05-191-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 Gregor2009-05-191-0/+29
| | | | llvm-svn: 72126
* Template instantiation for imaginary literals, because they were next in Expr.hDouglas Gregor2009-05-181-0/+11
llvm-svn: 72058
OpenPOWER on IntegriCloud