This patch follows https://reviews.llvm.org/D49729
and is followed by https://reviews.llvm.org/D49733
and https://reviews.llvm.org/D49734.
Move the bits from FunctionDecl and CXXConstructorDecl
into DeclContext.
Paths
| Differential D49732
[AST][2/4] Move the bit-fields from FunctionDecl and CXXConstructorDecl into DeclContext ClosedPublic Authored by bricci on Jul 24 2018, 7:53 AM.
Details
Summary This patch follows https://reviews.llvm.org/D49729 Move the bits from FunctionDecl and CXXConstructorDecl
Diff Detail
Event TimelineComment Actions Anotherone in need of clang-format, otherwise seems alright to me.
bricci marked 2 inline comments as done. Comment Actions
This revision is now accepted and ready to land.Aug 1 2018, 10:54 AM Closed by commit rC338636: [AST][2/4] Move the bit-fields from FunctionDecl and CXXConstructorDecl into… (authored by erichkeane). · Explain WhyAug 1 2018, 2:03 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 157033 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
|
I'm not sure I see the value of these. FunctiondeclBits is littered around here a bit, so I don't think these additional ones have all that much value. At least the MultiVersion case actually doesn't do anything but call these.