]> granicus.if.org Git - clang/commit
[ODRHash] static_cast and Stmt hashing.
authorRichard Trieu <rtrieu@google.com>
Wed, 22 Feb 2017 22:22:42 +0000 (22:22 +0000)
committerRichard Trieu <rtrieu@google.com>
Wed, 22 Feb 2017 22:22:42 +0000 (22:22 +0000)
commit14e6b6c38711b2f64a1622849efa427a015c3aba
treece4bb73baef96dfd6009c2d543e8fc224af997a5
parent73bb0d7edc912d9f944c9272df93be141331d567
[ODRHash] static_cast and Stmt hashing.

Add support for static_cast in classes.  Add pointer-independent profiling for
Stmt's, sharing most of the logic with Stmt::Profile.  This is the first of the
deep sub-Decl diffing for error messages.

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

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