|
@@ -14,7 +14,6 @@
|
|
|
|
|
|
#include "clang/Sema/IdentifierResolver.h"
|
|
|
#include "clang/AST/Decl.h"
|
|
|
-#include "clang/AST/DeclObjC.h"
|
|
|
#include "clang/Basic/LangOptions.h"
|
|
|
#include "clang/Lex/ExternalPreprocessorSource.h"
|
|
|
#include "clang/Lex/Preprocessor.h"
|
|
@@ -108,8 +107,7 @@ IdentifierResolver::~IdentifierResolver() {
|
|
|
/// 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.
|
|
|
-bool IdentifierResolver::isDeclInScope(Decl *D, DeclContext *Ctx,
|
|
|
- ASTContext &Context, Scope *S,
|
|
|
+bool IdentifierResolver::isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S,
|
|
|
bool ExplicitInstantiationOrSpecialization) const {
|
|
|
Ctx = Ctx->getRedeclContext();
|
|
|
|