]> granicus.if.org Git - clang/commitdiff
Objective-C. Make getObjCEncodingForMethodParameter public.
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 19 Mar 2014 20:52:13 +0000 (20:52 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 19 Mar 2014 20:52:13 +0000 (20:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204264 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/ASTContext.h

index f449403b334166600368c8c3488fa102ac4acace..82a022ade51d6b290060d0f04a77f011ac29ab52 100644 (file)
@@ -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> >