History log of /external/clang/test/SemaTemplate/instantiate-expr-3.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7ce323c99954cff6060c412ccceaaa9504804761 27-Aug-2010 John McCall <rjmccall@apple.com> Continue to instantiate sub-statements in a CompoundStmt as long as
we don't see a DeclStmt (failure to instantiate which generally causes
panic).



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112282 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
3d7c66979dcdb69c804d257f9ab355ac4a03e99e 09-May-2010 Douglas Gregor <doug.gregor@gmail.com> When instantiating statements that involve conditions (if, while, do,
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.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103357 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
3573b2c84372d9484296fa658f5276f6c09acb92 15-Dec-2009 Daniel Dunbar <daniel@zuster.org> Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
- 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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
d56ae46dfec4c501b7bca0e144a121020841aa53 23-May-2009 Douglas Gregor <doug.gregor@gmail.com> Template instantiation for ExtVectorElementExpr.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72299 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
6d0089ba8efccd8997c95104594f254a9d573f18 21-May-2009 Douglas Gregor <doug.gregor@gmail.com> Fix template instantiation for compound statements so that it properly
passes the "isStmtExpr" flag, to suppress warnings about unused
expressions.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72190 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
1adf43e716879234d51dcae63ebcccff7e1566ec 20-May-2009 Douglas Gregor <doug.gregor@gmail.com> Tweak test case so that the expected-error text matches on both i686 and x86-64.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
df6396d4ff3c061b2afce75ec50e73958a0e544c 20-May-2009 Douglas Gregor <doug.gregor@gmail.com> Add a va_list/template instantiation test suggested by Eli

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72178 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
a9a9775dbc6fb3d7b32c4470bf38dd0d844958d1 20-May-2009 Douglas Gregor <doug.gregor@gmail.com> Add FIXMEs for the remaining C and C++ expression types that still
need template instantiation logic. Remove one FIXME by instantiating
the callee in a non-type-dependent CXXOperatorCallExpr.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
25990971b88779a28de14657560bf589e35e4743 20-May-2009 Douglas Gregor <doug.gregor@gmail.com> Template instantiation for __builtin_va_arg.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
dd4ae3f16a09719220806cc1e0f2a16ddcc5fa24 20-May-2009 Douglas Gregor <doug.gregor@gmail.com> Template instantiation for __builtin_choose_expr.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72143 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
e621150f8912706269f94b652d974107176f7ab3 20-May-2009 Douglas Gregor <doug.gregor@gmail.com> Ban the use of __builtin_types_compatible_p in C++; g++ doesn't support it,
and it isn't clear exactly what it's supposed to mean. Thanks Eli!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72142 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
602173d78446cdf7bb072514d997dc4dae2de1b4 20-May-2009 Douglas Gregor <doug.gregor@gmail.com> Template instantiation for __builtin_shufflevector.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72139 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
b4245188f28d3942f42380a803755acabe4f3aec 19-May-2009 Douglas Gregor <doug.gregor@gmail.com> Template instantiation for __builtin_types_compatible_p.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
83f412bc91ba89622a6670ec8b1406e65a144eba 19-May-2009 Douglas Gregor <doug.gregor@gmail.com> Template instantiation for GNU statement expressions

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72129 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
0816e827cf2c9c7b1bbc10c91a1060504e8ac6f4 19-May-2009 Douglas Gregor <doug.gregor@gmail.com> Fix handling of the GNU "t ? : f" extension to the conditional
operator in C++, and verify that template instantiation for the
condition operator does the right thing.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72127 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
e88fde32a316c47959ae0c522467a36d8a1d0dfe 19-May-2009 Douglas Gregor <doug.gregor@gmail.com> Template instantiation for compound assignment operators.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72126 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp
4a95134918f5492e363a44868e3473299e0562ce 19-May-2009 Douglas Gregor <doug.gregor@gmail.com> Template instantiation for imaginary literals, because they were next in Expr.h

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72058 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaTemplate/instantiate-expr-3.cpp