summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-08-23 22:12:08 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-08-23 22:12:08 +0000
commit39eca9b95ab73f3ad442e4980ea0b12df3c134b8 (patch)
treea3a5a9f108a980b5829119b72303cdf02a0f3e07 /clang/lib/AST/StmtProfile.cpp
parent4bafa167481d6eec6535bbc5230535f9973d39e7 (diff)
downloadbcm5719-llvm-39eca9b95ab73f3ad442e4980ea0b12df3c134b8.tar.gz
bcm5719-llvm-39eca9b95ab73f3ad442e4980ea0b12df3c134b8.zip
Fix mangling for dependent "type { expr-list }" expressions, and add mangling for designated initializers matching recent cxx-abi-dev discussion.
llvm-svn: 311612
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index c1ba1e8e948..9ec92cebc1d 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/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(
OpenPOWER on IntegriCloud