Sema: Make helper function static.

llvm-svn: 193857
This commit is contained in:
Benjamin Kramer 2013-11-01 11:50:55 +00:00
parent c848beba5e
commit fc58b043b7
1 changed files with 1 additions and 1 deletions

View File

@ -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.