summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2018-09-04 22:53:19 +0000
committerRichard Trieu <rtrieu@google.com>2018-09-04 22:53:19 +0000
commit22ddc282b5df5b651bee678900788699dd70b95e (patch)
tree9d32281a097fb075e5969cbc4f26cf9d90a936f5 /clang/lib/AST/StmtProfile.cpp
parent470db781151d240e12c3a7f1000b54b0b2c8fcde (diff)
downloadbcm5719-llvm-22ddc282b5df5b651bee678900788699dd70b95e.tar.gz
bcm5719-llvm-22ddc282b5df5b651bee678900788699dd70b95e.zip
[ODRHash] Extend hash to support all Type's.
llvm-svn: 341421
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index 15653c4fd83..133ecf7cdc6 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -189,7 +189,7 @@ namespace {
// store its nullness. Add a boolean here to match.
ID.AddBoolean(true);
}
- Hash.AddDeclarationName(Name);
+ Hash.AddDeclarationName(Name, TreatAsDecl);
}
void VisitIdentifierInfo(IdentifierInfo *II) override {
ID.AddBoolean(II);
OpenPOWER on IntegriCloud