]> granicus.if.org Git - clang/commit
[ODRHash] Add IdentiferInfo and FieldDecl support.
authorRichard Trieu <rtrieu@google.com>
Thu, 23 Feb 2017 00:23:01 +0000 (00:23 +0000)
committerRichard Trieu <rtrieu@google.com>
Thu, 23 Feb 2017 00:23:01 +0000 (00:23 +0000)
commitf1a0eca3bb0543b92af99a858cdd1401416dc060
tree012d535dc32e0dbfd9651ce8ebcf6472b72de0e0
parentb10bb3222f717f6181b0fc845870dbbf4d1c429d
[ODRHash] Add IdentiferInfo and FieldDecl support.

IdentifierInfo is hashed based on the stored string.  FieldDecl versus other
Decl is now detected, as well as differently named fields.

Differential Revision: https://reviews.llvm.org/D21675

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