diff options
author | Richard Trieu <rtrieu@google.com> | 2018-09-04 22:53:19 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2018-09-04 22:53:19 +0000 |
commit | 22ddc282b5df5b651bee678900788699dd70b95e (patch) | |
tree | 9d32281a097fb075e5969cbc4f26cf9d90a936f5 /clang/lib/AST/StmtProfile.cpp | |
parent | 470db781151d240e12c3a7f1000b54b0b2c8fcde (diff) | |
download | bcm5719-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.cpp | 2 |
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); |