diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-11-01 11:50:55 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-11-01 11:50:55 +0000 |
commit | fc58b043b7f0964eea24faa5eafb8488fd50b9f2 (patch) | |
tree | 028534757536aebfcff64dfff15cdc2d13f04bfa /clang/lib | |
parent | c848beba5e9c43f8b508174d840c03d343495828 (diff) | |
download | bcm5719-llvm-fc58b043b7f0964eea24faa5eafb8488fd50b9f2.tar.gz bcm5719-llvm-fc58b043b7f0964eea24faa5eafb8488fd50b9f2.zip |
Sema: Make helper function static.
llvm-svn: 193857
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Sema/SemaLookup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp index dba0759b183..919c6ad61ab 100644 --- a/clang/lib/Sema/SemaLookup.cpp +++ b/clang/lib/Sema/SemaLookup.cpp @@ -339,7 +339,7 @@ void LookupResult::deletePaths(CXXBasePaths *Paths) { /// Get a representative context for a declaration such that two declarations /// will have the same context if they were found within the same scope. -DeclContext *getContextForScopeMatching(Decl *D) { +static DeclContext *getContextForScopeMatching(Decl *D) { // For function-local declarations, use that function as the context. This // doesn't account for scopes within the function; the caller must deal with // those. |