Change CRLF line endings to LF.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51103 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/IdentifierResolver.h b/lib/Sema/IdentifierResolver.h
index da1327b..7ba252b 100644
--- a/lib/Sema/IdentifierResolver.h
+++ b/lib/Sema/IdentifierResolver.h
@@ -321,13 +321,13 @@
return ctx_iterator(IDI->decls_begin());
}
- /// 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.
+ /// 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) {
- if (Ctx->isFunctionOrMethod())
- return S->isDeclScope(D);
-
+ if (Ctx->isFunctionOrMethod())
+ return S->isDeclScope(D);
+
return LookupContext(D) == LookupContext(Ctx);
}