diff options
author | Richard Trieu <rtrieu@google.com> | 2011-09-09 02:16:15 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2011-09-09 02:16:15 +0000 |
commit | b2fc69097d15f6374b9e5e6101f33960c34acbed (patch) | |
tree | 2b4faa672413d9b2ec2cf33aef268b17fac22c15 | |
parent | 8d267c57afb3af418ed5281b7a9bb4555d701a82 (diff) |
Change references to StmtTy to Stmt and removed typedefs of StmtTy. Also removed typedef of AttrTy since it is not used.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139349 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Parse/Parser.h | 1 | ||||
-rw-r--r-- | include/clang/Sema/Sema.h | 2 | ||||
-rw-r--r-- | lib/Parse/ParseStmt.cpp | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/include/clang/Parse/Parser.h b/include/clang/Parse/Parser.h index e4956b5b2d..d7bcfbe8ad 100644 --- a/include/clang/Parse/Parser.h +++ b/include/clang/Parse/Parser.h @@ -195,7 +195,6 @@ public: // Type forwarding. All of these are statically 'void*', but they may all be // different actual classes based on the actions in place. - typedef Stmt StmtTy; typedef OpaquePtr<DeclGroupRef> DeclGroupPtrTy; typedef CXXBaseSpecifier BaseTy; typedef CXXCtorInitializer MemInitTy; diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h index fc2a7f55c4..17db5929e8 100644 --- a/include/clang/Sema/Sema.h +++ b/include/clang/Sema/Sema.h @@ -177,10 +177,8 @@ public: typedef OpaquePtr<DeclGroupRef> DeclGroupPtrTy; typedef OpaquePtr<TemplateName> TemplateTy; typedef OpaquePtr<QualType> TypeTy; - typedef Attr AttrTy; typedef CXXBaseSpecifier BaseTy; typedef CXXCtorInitializer MemInitTy; - typedef Stmt StmtTy; typedef TemplateParameterList TemplateParamsTy; typedef NestedNameSpecifier CXXScopeTy; diff --git a/lib/Parse/ParseStmt.cpp b/lib/Parse/ParseStmt.cpp index 5ba6ff9da4..dd5006760b 100644 --- a/lib/Parse/ParseStmt.cpp +++ b/lib/Parse/ParseStmt.cpp @@ -497,7 +497,7 @@ StmtResult Parser::ParseCaseStatement(ParsedAttributes &attrs, bool MissingCase, // DeepestParsedCaseStmt - This is the deepest statement we have parsed, which // gets updated each time a new case is parsed, and whose body is unset so // far. When parsing 'case 4', this is the 'case 3' node. - StmtTy *DeepestParsedCaseStmt = 0; + Stmt *DeepestParsedCaseStmt = 0; // While we have case statements, eat and stack them. SourceLocation ColonLoc; |