From: Craig Topper Date: Sat, 7 Nov 2015 08:08:34 +0000 (+0000) Subject: Make a couple methods static. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4351a6f10a8cea94e45ce50e991beb05b16d3e62;p=clang Make a couple methods static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252400 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h index 62839b3484..8ba2f5e7f7 100644 --- a/include/clang/Sema/Sema.h +++ b/include/clang/Sema/Sema.h @@ -8846,8 +8846,8 @@ private: bool HasVAListArg; }; - bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, - FormatStringInfo *FSI); + static bool getFormatStringInfo(const FormatAttr *Format, bool IsCXXMember, + FormatStringInfo *FSI); bool CheckFunctionCall(FunctionDecl *FDecl, CallExpr *TheCall, const FunctionProtoType *Proto); bool CheckObjCMethodCall(ObjCMethodDecl *Method, SourceLocation loc, @@ -8935,7 +8935,7 @@ public: bool FormatStringHasSArg(const StringLiteral *FExpr); - bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx); + static bool GetFormatNSStringIdx(const FormatAttr *Format, unsigned &Idx); private: bool CheckFormatArguments(const FormatAttr *Format,