Lines Matching refs:Scope
1 //===- Scope.cpp - Lexical scope information --------------------*- C++ -*-===//
10 // This file implements the Scope class, which is used for recording
11 // information about a lexical scope.
15 #include "clang/Sema/Scope.h"
21 void Scope::setFlags(Scope *parent, unsigned flags) {
57 // If this scope is a function or contains breaks/continues, remember it.
71 // If this is a prototype scope, record that.
88 void Scope::Init(Scope *parent, unsigned flags) {
98 bool Scope::containedInPrototypeScope() const {
99 const Scope *S = this;
108 void Scope::AddFlags(unsigned FlagsToSet) {
110 "Unsupported scope flags");
122 void Scope::mergeNRVOIntoParent() {
137 LLVM_DUMP_METHOD void Scope::dump() const { dumpImpl(llvm::errs()); }
139 void Scope::dumpImpl(raw_ostream &OS) const {
215 if (const Scope *Parent = getParent())
216 OS << "Parent: (clang::Scope*)" << Parent << '\n';