[PATCH] D71734: [Modules] Handle tag types and complain about bad merges in C/Objective-C mode

Bruno Cardoso Lopes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 10 15:39:22 PST 2020


bruno updated this revision to Diff 237447.
bruno added a comment.

Updated the patch to refactor mode code.

- Move off everything that can be reused for `RecordDecl`.
- Early exist when not C++.

Once the patch gets approved the idea is to upstream some of the refactoring
first so its easier to spot the actual non NFC part.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71734/new/

https://reviews.llvm.org/D71734

Files:
  clang/include/clang/AST/Decl.h
  clang/include/clang/AST/DeclBase.h
  clang/include/clang/AST/ODRHash.h
  clang/include/clang/Serialization/ASTReader.h
  clang/lib/AST/Decl.cpp
  clang/lib/AST/DeclCXX.cpp
  clang/lib/AST/ODRHash.cpp
  clang/lib/Serialization/ASTReader.cpp
  clang/lib/Serialization/ASTReaderDecl.cpp
  clang/lib/Serialization/ASTWriterDecl.cpp
  clang/test/Modules/odr_hash-record.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71734.237447.patch
Type: text/x-patch
Size: 110986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200110/7df675a4/attachment-0001.bin>


More information about the cfe-commits mailing list