[cfe-commits] r144342 - /cfe/trunk/include/clang/AST/DeclObjC.h

Argyrios Kyrtzidis akyrtzi at gmail.com
Thu Nov 10 16:23:31 PST 2011


Author: akirtzidis
Date: Thu Nov 10 18:23:31 2011
New Revision: 144342

URL: http://llvm.org/viewvc/llvm-project?rev=144342&view=rev
Log:
Add a const version of ObjCClassDecl::getForwardDecl, no functionality change.

Modified:
    cfe/trunk/include/clang/AST/DeclObjC.h

Modified: cfe/trunk/include/clang/AST/DeclObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclObjC.h?rev=144342&r1=144341&r2=144342&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Thu Nov 10 18:23:31 2011
@@ -1044,6 +1044,7 @@
     return ForwardDecl->getInterface();
   }
   ObjCClassRef *getForwardDecl() { return ForwardDecl; }
+  const ObjCClassRef *getForwardDecl() const { return ForwardDecl; }
   void setClass(ASTContext &C, ObjCInterfaceDecl*const Cls,
                 const SourceLocation Locs);
 





More information about the cfe-commits mailing list