This revision was automatically updated to reflect the committed changes.
Closed by commit rL338641: [AST][4/4] Move the bit-fields from ObjCMethodDecl
and ObjCContainerDecl into… (authored by erichkeane, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
bricci updated this revision to Diff 158499.
bricci added a comment.
rebased after the great whitespace trimming
Repository:
rC Clang
https://reviews.llvm.org/D49734
Files:
include/clang/AST/DeclObjC.h
lib/AST/DeclObjC.cpp
lib/Sema/SemaDeclObjC.cpp
bricci updated this revision to Diff 157293.
bricci marked an inline comment as done.
bricci added a comment.
- clang-format on the changes
- remove the unnecessary getFamilyImpl and setFamilyImpl
Repository:
rC Clang
https://reviews.llvm.org/D49734
Files:
include/clang/AST/DeclObjC.h
erichkeane added a comment.
Same comment as the other 3.
Comment at: include/clang/AST/DeclObjC.h:190
+ /// InvalidObjCMethodFamily cast into an ObjCMethodFamily.
+ ObjCMethodFamily getFamilyImpl() const {
+return static_cast(ObjCMethodDeclBits.Family);
bricci created this revision.
bricci added a project: clang.
Herald added a subscriber: cfe-commits.
This patch follows https://reviews.llvm.org/D49729,
https://reviews.llvm.org/D49732 and
https://reviews.llvm.org/D49733.
Move the bits from ObjCMethodDecl and ObjCContainerDecl
into DeclContext.