]> granicus.if.org Git - clang/commitdiff
Change references to StmtTy to Stmt and removed typedefs of StmtTy. Also removed...
authorRichard Trieu <rtrieu@google.com>
Fri, 9 Sep 2011 02:16:15 +0000 (02:16 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 9 Sep 2011 02:16:15 +0000 (02:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139349 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Parse/Parser.h
include/clang/Sema/Sema.h
lib/Parse/ParseStmt.cpp

index e4956b5b2d9cacf3d5611d3baa72db2b1ff233f5..d7bcfbe8ad4c3fa8581e0fbee622fce54b27fc0c 100644 (file)
@@ -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;
index fc2a7f55c495136f257ce05e03f88eeaf685b32a..17db5929e8f17a9ea27576b3b7a2c145823cc4fb 100644 (file)
@@ -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;
 
index 5ba6ff9da4c3f07a49353720dd459296840ee5b9..dd5006760b41a21ba18a404daba1839f5dfa7da8 100644 (file)
@@ -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;