From: Fariborz Jahanian Date: Wed, 19 Mar 2014 20:52:13 +0000 (+0000) Subject: Objective-C. Make getObjCEncodingForMethodParameter public. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8df19aa1b0e120174092e93046d01fcdbba38324;p=clang Objective-C. Make getObjCEncodingForMethodParameter public. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204264 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h index f449403b33..82a022ade5 100644 --- a/include/clang/AST/ASTContext.h +++ b/include/clang/AST/ASTContext.h @@ -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 >