Home | History | Annotate | Download | only in Sema

Lines Matching refs:Scope

1 //===- IdentifierResolver.cpp - Lexical Scope Name lookup -------*- C++ -*-===//
20 #include "clang/Sema/Scope.h"
68 /// RemoveDecl - Remove the decl from the scope chain.
95 /// if 'D' is in Scope 'S', otherwise 'S' is ignored and isDeclInScope returns
97 bool IdentifierResolver::isDeclInScope(Decl *D, DeclContext *Ctx, Scope *S,
122 if (S->getParent()->getFlags() & Scope::ControlScope) {
127 if (S->getFlags() & Scope::FnTryCatchScope)
135 // that is its scope.
329 // If the existing declaration is not visible in translation unit scope,
363 // unit (it's in an inner scope). Insert our declaration here.