[ODRHash] Add support for detecting different method properties.
authorRichard Trieu <rtrieu@google.com>
Sat, 4 Mar 2017 00:08:58 +0000 (00:08 +0000)
committerRichard Trieu <rtrieu@google.com>
Sat, 4 Mar 2017 00:08:58 +0000 (00:08 +0000)
commit583e2c175a241dc39dfc28acda8a38514286950e
treef87bdaf5f526f144e8db1b25aca6f9ad0676bff1
parent71c1958fca2852cd418f89250547861b7c9bb016
[ODRHash] Add support for detecting different method properties.

Now print diagnostics for static, virtual, inline, volatile, and const
differences in methods.  Also use DeclarationName instead of IdentifierInfo
for additional robustness in diagnostic printing.

llvm-svn: 296932
clang/include/clang/Basic/DiagnosticSerializationKinds.td
clang/lib/AST/ODRHash.cpp
clang/lib/Serialization/ASTReader.cpp
clang/test/Modules/odr_hash.cpp