[PATCH] D49732: [AST][2/4] Move the bit-fields from FunctionDecl and CXXConstructorDecl into DeclContext

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 25 09:53:14 PDT 2018


bricci updated this revision to Diff 157289.
bricci marked 2 inline comments as done.
bricci added a comment.

- ran clang-format on the changes
- removed the unnecessary setPureImpl, isMultiVersionImpl and setMultiVersionImpl. However unfortunately I think that isDeletedImpl has to stay because ASTDeclWriter::VisitFunctionDecl need to access this bit but we do not want to make ASTDeclWriter a friend of FunctionDeclBitfields just for this. FWIW I have renamed it to isDeletedBit...


Repository:
  rC Clang

https://reviews.llvm.org/D49732

Files:
  include/clang/AST/Decl.h
  include/clang/AST/DeclCXX.h
  lib/AST/Decl.cpp
  lib/AST/DeclCXX.cpp
  lib/Serialization/ASTReaderDecl.cpp
  lib/Serialization/ASTWriterDecl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49732.157289.patch
Type: text/x-patch
Size: 33298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180725/bc67f29f/attachment-0001.bin>


More information about the cfe-commits mailing list