Change CRLF line endings to LF.

llvm-svn: 51103
This commit is contained in:
Argyrios Kyrtzidis 2008-05-14 10:49:47 +00:00
parent 52a005ac13
commit 3722daf62d
1 changed files with 6 additions and 6 deletions

View File

@ -321,13 +321,13 @@ public:
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);
}