r193857 - Sema: Make helper function static.
Benjamin Kramer
benny.kra at googlemail.com
Fri Nov 1 04:50:55 PDT 2013
Author: d0k
Date: Fri Nov 1 06:50:55 2013
New Revision: 193857
URL: http://llvm.org/viewvc/llvm-project?rev=193857&view=rev
Log:
Sema: Make helper function static.
Modified:
cfe/trunk/lib/Sema/SemaLookup.cpp
Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=193857&r1=193856&r2=193857&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Fri Nov 1 06:50:55 2013
@@ -339,7 +339,7 @@ void LookupResult::deletePaths(CXXBasePa
/// 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.
More information about the cfe-commits
mailing list