[ODRHash] Handle some template weirdness.
authorRichard Trieu <rtrieu@google.com>
Thu, 22 Feb 2018 05:32:25 +0000 (05:32 +0000)
committerRichard Trieu <rtrieu@google.com>
Thu, 22 Feb 2018 05:32:25 +0000 (05:32 +0000)
commitf65efae5c45bdccddb40b829cf28fcbf70af891b
tree3de49e90c6e2f52d157121c65fe501ba2f1e4c62
parent3c83937370155ddf0a5fd117b817155a5cd978ff
[ODRHash] Handle some template weirdness.

Build the index off of DeclarationName instead of Decl pointers.  When finding
an UnresolvedLookupExprClass, hash it as if it were a DeclRefExpr.  This will
allow methods to be hashed.

llvm-svn: 325741
clang/include/clang/AST/ODRHash.h
clang/lib/AST/ODRHash.cpp
clang/lib/AST/StmtProfile.cpp