aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/IdentifierResolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/IdentifierResolver.h')
-rw-r--r--lib/Sema/IdentifierResolver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/IdentifierResolver.h b/lib/Sema/IdentifierResolver.h
index 82c4f06196..c661145d89 100644
--- a/lib/Sema/IdentifierResolver.h
+++ b/lib/Sema/IdentifierResolver.h
@@ -207,7 +207,7 @@ public:
/// isDeclInScope - If 'Ctx' is a function/method, isDeclInScope returns true
/// if 'D' is in Scope 'S', otherwise 'S' is ignored and isDeclInScope returns
/// true if 'D' belongs to the given declaration context.
- static bool isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S = 0);
+ bool isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S = 0) const;
/// AddDecl - Link the decl to its shadowed decl chain.
void AddDecl(NamedDecl *D);