diff options
author | Steve Naroff <snaroff@apple.com> | 2009-03-13 15:38:40 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-03-13 15:38:40 +0000 |
commit | caaacecb2b64e6d2e402533baffda4cb540f4145 (patch) | |
tree | e7a2837c8d3b6aa2df6b1ecaa00f2f809e0c64f5 /lib/Sema/Sema.h | |
parent | 610e81d6b7248ce4be4be2252b03a5d4052c9835 (diff) |
Remove ActiveScope (revert http://llvm.org/viewvc/llvm-project?view=rev&revision=65694 and http://llvm.org/viewvc/llvm-project?view=rev&revision=66741).
Will replace with something better today...
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index fbae644568..b403a8ba1d 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -104,14 +104,15 @@ public: /// the active block object that represents it. BlockSemaInfo *CurBlock; - /// ActiveScope - If inside of a function, method, or block definition, - /// this contains a pointer to the active scope that represents it. - Scope *ActiveScope; - /// PackContext - Manages the stack for #pragma pack. An alignment /// of 0 indicates default alignment. void *PackContext; // Really a "PragmaPackStack*" + /// LabelMap - This is a mapping from label identifiers to the LabelStmt for + /// it (which acts like the label decl in some ways). Forward referenced + /// labels have a LabelStmt created for them with a null location & SubStmt. + llvm::DenseMap<IdentifierInfo*, LabelStmt*> LabelMap; + llvm::SmallVector<SwitchStmt*, 8> SwitchStack; /// ExtVectorDecls - This is a list all the extended vector types. This allows |