[ODRHash] Hash VarDecl members.
authorRichard Trieu <rtrieu@google.com>
Fri, 16 Jun 2017 02:44:29 +0000 (02:44 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 16 Jun 2017 02:44:29 +0000 (02:44 +0000)
commitdd646d623e79ae9d8ec9850f18157bb2d247eb70
tree957e1a1eb2cf8b083acaa2c8d7d73eb3a61b9900
parent0955a488ccaf17a8a827df494bde7fbd05d5525e
[ODRHash] Hash VarDecl members.

These VarDecl's are static data members of classes.  Since the initializers are
also hashed, this also provides checking for default arguments to methods.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305543 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSerializationKinds.td
lib/AST/ODRHash.cpp
lib/Serialization/ASTReader.cpp
test/Modules/odr_hash.cpp