From: Benjamin Kramer Date: Fri, 24 Feb 2012 22:19:42 +0000 (+0000) Subject: Make helper static. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a08c2fb74ef823c185619ecc532f8fced6a1982f;p=clang Make helper static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151400 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaType.cpp b/lib/Sema/SemaType.cpp index d9867fd1b0..d7c54f7d0b 100644 --- a/lib/Sema/SemaType.cpp +++ b/lib/Sema/SemaType.cpp @@ -1938,7 +1938,7 @@ static QualType GetDeclSpecTypeForDeclarator(TypeProcessingState &state, return T; } -std::string getFunctionQualifiersAsString(const FunctionProtoType *FnTy) { +static std::string getFunctionQualifiersAsString(const FunctionProtoType *FnTy){ std::string Quals = Qualifiers::fromCVRMask(FnTy->getTypeQuals()).getAsString();