diff options
Diffstat (limited to 'include/clang/AST/DeclObjC.h')
-rw-r--r-- | include/clang/AST/DeclObjC.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 9cc9e5ae49..0ca98bb6ec 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -218,6 +218,9 @@ private: /// @required/@optional ImplementationControl DeclImplementation : 2; + /// in, inout, etc. + ObjcDeclQualifier objcDeclQualifier : 6; + // A unigue name for this method. Selector SelName; @@ -241,11 +244,14 @@ public: Decl *PrevDecl = 0) : Decl(ObjcMethod, beginLoc), IsInstance(isInstance), DeclImplementation(impControl), + objcDeclQualifier(OBJC_TQ_None), SelName(SelInfo), MethodDeclType(T), ParamInfo(paramInfo), NumMethodParams(numParams), MethodAttrs(M), EndLoc(endLoc) {} virtual ~ObjcMethodDecl(); + ObjcDeclQualifier getObjcDeclQualifier() const { return objcDeclQualifier; } + // Location information, modeled after the Stmt API. SourceLocation getLocStart() const { return getLocation(); } SourceLocation getLocEnd() const { return EndLoc; } |