Lines Matching defs:getFlags
225 /// getFlags - Return the flags for this scope.
226 unsigned getFlags() const { return Flags; }
367 bool isFunctionScope() const { return (getFlags() & Scope::FnScope); }
371 return (getFlags() & Scope::ClassScope);
389 if (S->getFlags() & ObjCMethodScope)
400 if (S->getFlags() & ObjCMethodScope)
409 return getFlags() & Scope::TemplateParamScope;
415 return getFlags() & Scope::FunctionPrototypeScope;
421 return getFlags() & Scope::FunctionDeclarationScope;
426 return getFlags() & Scope::AtCatchScope;
432 if (S->getFlags() & Scope::SwitchScope)
434 else if (S->getFlags() & (Scope::FnScope | Scope::ClassScope |
445 return (getFlags() & Scope::OpenMPDirectiveScope);
451 if (getFlags() & Scope::OpenMPLoopDirectiveScope) {
462 return getFlags() & Scope::OpenMPSimdDirectiveScope;
473 bool isTryScope() const { return getFlags() & Scope::TryScope; }
476 bool isSEHTryScope() const { return getFlags() & Scope::SEHTryScope; }
479 bool isSEHExceptScope() const { return getFlags() & Scope::SEHExceptScope; }
483 return getFlags() & Scope::CompoundStmtScope;