diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-08-23 22:12:08 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-08-23 22:12:08 +0000 |
commit | 919ae5fc042719d9f21b2d569e9425b948f7b1f1 (patch) | |
tree | fdb07661bfb68e3611c506031949ace0fcb06767 /lib/AST/StmtProfile.cpp | |
parent | c05af575f52ab7f2f1bc2bbdf247976d8c21c582 (diff) | |
download | clang-919ae5fc042719d9f21b2d569e9425b948f7b1f1.tar.gz |
Fix mangling for dependent "type { expr-list }" expressions, and add mangling for designated initializers matching recent cxx-abi-dev discussion.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311612 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/StmtProfile.cpp')
-rw-r--r-- | lib/AST/StmtProfile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/StmtProfile.cpp b/lib/AST/StmtProfile.cpp index c1ba1e8e94..9ec92cebc1 100644 --- a/lib/AST/StmtProfile.cpp +++ b/lib/AST/StmtProfile.cpp @@ -1701,6 +1701,7 @@ void StmtProfiler::VisitCXXUnresolvedConstructExpr( const CXXUnresolvedConstructExpr *S) { VisitExpr(S); VisitType(S->getTypeAsWritten()); + ID.AddInteger(S->isListInitialization()); } void StmtProfiler::VisitCXXDependentScopeMemberExpr( |