aboutsummaryrefslogtreecommitdiff
path: root/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sema/Sema.h')
-rw-r--r--Sema/Sema.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Sema/Sema.h b/Sema/Sema.h
index cbb94bc372..590f46f155 100644
--- a/Sema/Sema.h
+++ b/Sema/Sema.h
@@ -69,10 +69,6 @@ class Sema : public Action {
/// the method decl for the method being parsed.
ObjcMethodDecl *CurMethodDecl;
- /// TopLevelDeclList - This vector is populated with all declarators from
- /// a top-level declaration. This is used by the ASTStreamer.
- std::vector<Decl*> &TopLevelDeclList;
-
/// 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.
@@ -141,7 +137,7 @@ class Sema : public Action {
llvm::DenseMap<Selector, ObjcMethodList> InstanceMethodPool;
llvm::DenseMap<Selector, ObjcMethodList> FactoryMethodPool;
public:
- Sema(Preprocessor &pp, ASTContext &ctxt, std::vector<Decl*> &prevInGroup);
+ Sema(Preprocessor &pp, ASTContext &ctxt);
const LangOptions &getLangOptions() const;
@@ -227,9 +223,6 @@ private:
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);
/// More parsing and symbol table subroutines...
ParmVarDecl *ActOnParamDeclarator(struct DeclaratorChunk::ParamInfo &PI,