aboutsummaryrefslogtreecommitdiff
path: root/Parse/MinimalAction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Parse/MinimalAction.cpp')
-rw-r--r--Parse/MinimalAction.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/Parse/MinimalAction.cpp b/Parse/MinimalAction.cpp
index 5e2fac2979..05b91dafc2 100644
--- a/Parse/MinimalAction.cpp
+++ b/Parse/MinimalAction.cpp
@@ -80,19 +80,6 @@ MinimalAction::ActOnStartClassInterface(Scope* S, SourceLocation AtInterafceLoc,
return 0;
}
-Action::DeclTy *
-MinimalAction::ActOnStartProtocolInterface(Scope* S,
- SourceLocation AtProtoInterfaceLoc,
- IdentifierInfo *ProtocolName, SourceLocation ProtocolLoc,
- IdentifierInfo **ProtoRefNames, unsigned NumProtoRefs) {
-
- TypeNameInfo *TI =
- new TypeNameInfo(1, ProtocolName->getFETokenInfo<TypeNameInfo>());
-
- ProtocolName->setFETokenInfo(TI);
- return 0;
-}
-
/// ActOnForwardClassDeclaration -
/// Scope will always be top level file scope.
Action::DeclTy *
@@ -110,23 +97,6 @@ MinimalAction::ActOnForwardClassDeclaration(Scope *S, SourceLocation AtClassLoc,
return 0;
}
-/// ActOnForwardProtocolDeclaration -
-/// Scope will always be top level file scope.
-Action::DeclTy *
-MinimalAction::ActOnForwardProtocolDeclaration(Scope *S,
- SourceLocation AtClassLoc, IdentifierInfo **IdentList, unsigned NumElts) {
- for (unsigned i = 0; i != NumElts; ++i) {
- TypeNameInfo *TI =
- new TypeNameInfo(1, IdentList[i]->getFETokenInfo<TypeNameInfo>());
-
- IdentList[i]->setFETokenInfo(TI);
-
- // Remember that this needs to be removed when the scope is popped.
- S->AddDecl(IdentList[i]);
- }
- return 0;
-}
-
/// PopScope - When a scope is popped, if any typedefs are now out-of-scope,
/// they are removed from the IdentifierInfo::FETokenInfo field.
void MinimalAction::PopScope(SourceLocation Loc, Scope *S) {