commit | 22ddc282b5df5b651bee678900788699dd70b95e | [log] [tgz] |
---|---|---|
author | Richard Trieu <rtrieu@google.com> | Tue Sep 04 22:53:19 2018 +0000 |
committer | Richard Trieu <rtrieu@google.com> | Tue Sep 04 22:53:19 2018 +0000 |
tree | 9d32281a097fb075e5969cbc4f26cf9d90a936f5 | |
parent | 470db781151d240e12c3a7f1000b54b0b2c8fcde [diff] [blame] |
[ODRHash] Extend hash to support all Type's. llvm-svn: 341421
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp index 15653c4..133ecf7 100644 --- a/clang/lib/AST/StmtProfile.cpp +++ b/clang/lib/AST/StmtProfile.cpp
@@ -189,7 +189,7 @@ // 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);