[PATCH] D21675: New ODR checker for modules

Richard Trieu via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 19:32:18 PDT 2016


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

Add a more detailed error message to let users know where the two records differ.  This replaces the generic error which only stated that two definitions are different without any details.


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
  include/clang/Basic/DiagnosticSerializationKinds.td
  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/ASTReader.cpp
  lib/Serialization/ASTReaderDecl.cpp
  lib/Serialization/ASTWriter.cpp
  test/Modules/merge-using-decls.cpp
  test/Modules/odr_hash.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21675.73388.patch
Type: text/x-patch
Size: 91373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161004/c732edda/attachment-0001.bin>


More information about the cfe-commits mailing list