aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-10-31 18:42:27 +0000
committerSteve Naroff <snaroff@apple.com>2007-10-31 18:42:27 +0000
commit8ee529b5671295ea38c249df8b9d3766c905cfa7 (patch)
tree5fbf4dff3848036ed6296b252b87a80c19c5b30b /include/clang
parente522d85ffcf500681eeca93671b82f565d993300 (diff)
Implement a more sensible strategy for ObjC built-in types (addressing a long standing FIXME in Sema::GetObjcIdType()).
This removes several gross hacks to work around the previous "lazy" behavior. Two notes: - MinimalActions still needs to be taught about the built-in types (This breaks one of the -noop test cases). I started this, then added a FIXME. - I didn't convert Sema::GetObjcProtoType() yet. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Parse/Action.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/Parse/Action.h b/include/clang/Parse/Action.h
index 2097601c6b..43290f2add 100644
--- a/include/clang/Parse/Action.h
+++ b/include/clang/Parse/Action.h
@@ -645,9 +645,7 @@ public:
/// ActOnPopScope - When a scope is popped, if any typedefs are now
/// out-of-scope, they are removed from the IdentifierInfo::FETokenInfo field.
virtual void ActOnPopScope(SourceLocation Loc, Scope *S);
- virtual void ActOnTranslationUnitScope(SourceLocation Loc, Scope *S) {
- TUScope = S;
- }
+ virtual void ActOnTranslationUnitScope(SourceLocation Loc, Scope *S);
virtual DeclTy *ActOnForwardClassDeclaration(SourceLocation AtClassLoc,
IdentifierInfo **IdentList,