diff options
author | Erich Keane <erich.keane@intel.com> | 2018-08-01 21:31:08 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2018-08-01 21:31:08 +0000 |
commit | 9b18eca352ed0c3d9cf15e4e0520be1125334778 (patch) | |
tree | 29e701d28af40e713604cc5741ef6f8eb62cc5cd /clang/lib/Sema/SemaDeclObjC.cpp | |
parent | 7d27414058437e176138cd86edd28eab93e38042 (diff) | |
download | bcm5719-llvm-9b18eca352ed0c3d9cf15e4e0520be1125334778.tar.gz bcm5719-llvm-9b18eca352ed0c3d9cf15e4e0520be1125334778.zip |
[AST][4/4] Move the bit-fields from ObjCMethodDecl and ObjCContainerDecl into DeclContext
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.
Differential Revision: https://reviews.llvm.org/D49734
Patch By: bricci
llvm-svn: 338641
Diffstat (limited to 'clang/lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDeclObjC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDeclObjC.cpp b/clang/lib/Sema/SemaDeclObjC.cpp index 595cc76cd4a..a45d7c89a2b 100644 --- a/clang/lib/Sema/SemaDeclObjC.cpp +++ b/clang/lib/Sema/SemaDeclObjC.cpp @@ -4351,7 +4351,7 @@ void Sema::CheckObjCMethodOverrides(ObjCMethodDecl *ObjCMethod, // Propagate down the 'related result type' bit from overridden methods. if (RTC != Sema::RTC_Incompatible && overridden->hasRelatedResultType()) - ObjCMethod->SetRelatedResultType(); + ObjCMethod->setRelatedResultType(); // Then merge the declarations. mergeObjCMethodDecls(ObjCMethod, overridden); @@ -4746,7 +4746,7 @@ Decl *Sema::ActOnMethodDeclaration( if (InferRelatedResultType && !ObjCMethod->getReturnType()->isObjCIndependentClassType()) - ObjCMethod->SetRelatedResultType(); + ObjCMethod->setRelatedResultType(); } if (MethodDefinition && |