From a08c2fb74ef823c185619ecc532f8fced6a1982f Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 24 Feb 2012 22:19:42 +0000 Subject: [PATCH] Make helper static. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151400 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaType.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.50.1