diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-26 12:38:21 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-26 12:38:21 +0000 |
commit | 8aef596decfce37bc15ab45a4e00105b62f188d1 (patch) | |
tree | c0e84d5bc5a0c1a26ce6d5d539c0fba6c3f3e1ce /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | 8d2227373db2c6ff7fa9b5cfa18a35bb9079cf25 (diff) | |
download | bcm5719-llvm-8aef596decfce37bc15ab45a4e00105b62f188d1.tar.gz bcm5719-llvm-8aef596decfce37bc15ab45a4e00105b62f188d1.zip |
Make helpers static.
llvm-svn: 128339
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
-rw-r--r-- | clang/lib/Sema/SemaCodeComplete.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp index bab665a38da..df3722f2e81 100644 --- a/clang/lib/Sema/SemaCodeComplete.cpp +++ b/clang/lib/Sema/SemaCodeComplete.cpp @@ -1785,9 +1785,9 @@ static void AddOrdinaryNameResults(Sema::ParserCompletionContext CCC, /// /// This routine provides a fast path where we provide constant strings for /// common type names. -const char *GetCompletionTypeString(QualType T, - ASTContext &Context, - CodeCompletionAllocator &Allocator) { +static const char *GetCompletionTypeString(QualType T, + ASTContext &Context, + CodeCompletionAllocator &Allocator) { PrintingPolicy Policy(Context.PrintingPolicy); Policy.AnonymousTagLocations = false; |