summaryrefslogtreecommitdiffstats
path: root/clang/Sema/Sema.h
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-09-13 21:41:19 +0000
committerSteve Naroff <snaroff@apple.com>2007-09-13 21:41:19 +0000
commit9def2b15c1193ee423ffe11125154bd86dd71a1d (patch)
tree8c006647b8f389d9246fccf212784c3cdc84268a /clang/Sema/Sema.h
parent011f91b5b24cc27071877f3d75f961c187afc5d4 (diff)
downloadbcm5719-llvm-9def2b15c1193ee423ffe11125154bd86dd71a1d.tar.gz
bcm5719-llvm-9def2b15c1193ee423ffe11125154bd86dd71a1d.zip
Phase 2 of making the Decl class more lightweight...
Move Identifier/Loc instance variables (and associated getters/setters) down from Decl to ScopedDecl/FieldDecl. Objc AST's can now inherit from Decl without getting instance variables and types that are C specific. For now, I am keeping NextDeclarator, since I believe it may be useful to ObjC. If not, it can be moved later. llvm-svn: 41934
Diffstat (limited to 'clang/Sema/Sema.h')
-rw-r--r--clang/Sema/Sema.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h
index 2cc11487121..30953083547 100644
--- a/clang/Sema/Sema.h
+++ b/clang/Sema/Sema.h
@@ -166,9 +166,9 @@ private:
private:
/// Subroutines of ParseDeclarator()...
TypedefDecl *ParseTypedefDecl(Scope *S, Declarator &D, Decl *LastDeclarator);
- TypedefDecl *MergeTypeDefDecl(TypedefDecl *New, Decl *Old);
- FunctionDecl *MergeFunctionDecl(FunctionDecl *New, Decl *Old);
- VarDecl *MergeVarDecl(VarDecl *New, Decl *Old);
+ TypedefDecl *MergeTypeDefDecl(TypedefDecl *New, ScopedDecl *Old);
+ FunctionDecl *MergeFunctionDecl(FunctionDecl *New, ScopedDecl *Old);
+ VarDecl *MergeVarDecl(VarDecl *New, ScopedDecl *Old);
/// AddTopLevelDecl - called after the decl has been fully processed.
/// Allows for bookkeeping and post-processing of each declaration.
void AddTopLevelDecl(Decl *current, Decl *last);
OpenPOWER on IntegriCloud