[PATCH] D21675: New ODR checker for modules

Richard Trieu via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 16 20:02:12 PDT 2016


rtrieu updated this revision to Diff 68278.
rtrieu added a comment.

Add function void ODRHash(llvm::FoldingSetNodeID &ID) to several classes for computing the hash.  Decl, Stmt, TemplateArgument, Type and QualType now have this function, and can call among each others' functions.


https://reviews.llvm.org/D21675

Files:
  include/clang/AST/DeclBase.h
  include/clang/AST/DeclCXX.h
  include/clang/AST/Stmt.h
  include/clang/AST/TemplateBase.h
  include/clang/AST/Type.h
  lib/AST/DeclBase.cpp
  lib/AST/DeclCXX.cpp
  lib/AST/StmtProfile.cpp
  lib/AST/TemplateBase.cpp
  lib/AST/Type.cpp
  lib/Sema/SemaDecl.cpp
  lib/Serialization/ASTReaderDecl.cpp
  lib/Serialization/ASTWriter.cpp
  test/Modules/Inputs/odr_hash/first.h
  test/Modules/Inputs/odr_hash/module.map
  test/Modules/Inputs/odr_hash/second.h
  test/Modules/merge-using-decls.cpp
  test/Modules/odr_hash.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21675.68278.patch
Type: text/x-patch
Size: 53238 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160817/7df9e48b/attachment-0001.bin>


More information about the cfe-commits mailing list