summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-11-01 11:50:55 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-11-01 11:50:55 +0000
commitfc58b043b7f0964eea24faa5eafb8488fd50b9f2 (patch)
tree028534757536aebfcff64dfff15cdc2d13f04bfa /clang/lib/Sema
parentc848beba5e9c43f8b508174d840c03d343495828 (diff)
downloadbcm5719-llvm-fc58b043b7f0964eea24faa5eafb8488fd50b9f2.tar.gz
bcm5719-llvm-fc58b043b7f0964eea24faa5eafb8488fd50b9f2.zip
Sema: Make helper function static.
llvm-svn: 193857
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaLookup.cpp2
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.
OpenPOWER on IntegriCloud