diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-09 22:50:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-04-09 22:50:07 +0000 |
commit | f3e67de85aed2c3582755845d39474948c0cc63a (patch) | |
tree | 8992c1ad8c7ab7a30f323757812ab9275e97e52f /clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp | |
parent | 8f9a3f2d7eb7cdcea9e8e3eb7a4766397443b68e (diff) | |
download | llvm-f3e67de85aed2c3582755845d39474948c0cc63a.zip llvm-f3e67de85aed2c3582755845d39474948c0cc63a.tar.gz llvm-f3e67de85aed2c3582755845d39474948c0cc63a.tar.bz2 |
[CodeGen] Do a more principled fix for PR231653, always use the inner type.
We were still using the MaterializeTemporaryExpr's type to check if the
transform is legal. Always use the inner Expr type.
llvm-svn: 234543
Diffstat (limited to 'clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp b/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp index 1131ca9..6d5d397 100644 --- a/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp +++ b/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp @@ -510,7 +510,7 @@ namespace B19773010 { void PR22940_helper(const pair<void*, int>&) { } void PR22940() { // CHECK-LABEL: @_ZN9B197730107PR22940Ev - // CHECK-NOT: call {{.*}} @_ZN9B197730104pairIPviEC{{.}}Ev( + // CHECK: call {{.*}} @_ZN9B197730104pairIPviEC{{.}}Ev( // CHECK: call {{.*}} @_ZN9B1977301014PR22940_helperERKNS_4pairIPviEE( PR22940_helper(pair<void*, int>()); } |