r204264 - Objective-C. Make getObjCEncodingForMethodParameter public.

Fariborz Jahanian fjahanian at apple.com
Wed Mar 19 13:52:13 PDT 2014


Author: fjahanian
Date: Wed Mar 19 15:52:13 2014
New Revision: 204264

URL: http://llvm.org/viewvc/llvm-project?rev=204264&view=rev
Log:
Objective-C. Make getObjCEncodingForMethodParameter public.


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

Modified: cfe/trunk/include/clang/AST/ASTContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/ASTContext.h?rev=204264&r1=204263&r2=204264&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/ASTContext.h (original)
+++ cfe/trunk/include/clang/AST/ASTContext.h Wed Mar 19 15:52:13 2014
@@ -2272,17 +2272,17 @@ private:
   void getObjCEncodingForStructureImpl(RecordDecl *RD, std::string &S,
                                        const FieldDecl *Field,
                                        bool includeVBases = true) const;
-
+public:
   // Adds the encoding of a method parameter or return type.
   void getObjCEncodingForMethodParameter(Decl::ObjCDeclQualifier QT,
                                          QualType T, std::string& S,
                                          bool Extended) const;
-
+  
+private:
   const ASTRecordLayout &
   getObjCLayout(const ObjCInterfaceDecl *D,
                 const ObjCImplementationDecl *Impl) const;
 
-private:
   /// \brief A set of deallocations that should be performed when the
   /// ASTContext is destroyed.
   typedef llvm::SmallDenseMap<void(*)(void*), llvm::SmallVector<void*, 16> >





More information about the cfe-commits mailing list