From 8df19aa1b0e120174092e93046d01fcdbba38324 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 19 Mar 2014 20:52:13 +0000 Subject: [PATCH] Objective-C. Make getObjCEncodingForMethodParameter public. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204264 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/ASTContext.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 > -- 2.50.1