]> granicus.if.org Git - clang/commitdiff
rename ExtensionRAIIObject.h -> RAIIObjectsForParser.h
authorChris Lattner <sabre@nondot.org>
Thu, 10 Dec 2009 00:21:05 +0000 (00:21 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Dec 2009 00:21:05 +0000 (00:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91008 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseStmt.cpp
lib/Parse/Parser.cpp
lib/Parse/RAIIObjectsForParser.h [moved from lib/Parse/ExtensionRAIIObject.h with 78% similarity]

index 4d8010bce213d2dde16a81b75edd18324940682e..5a657dea9b2443095cfe863e66e0ae6f836d6993 100644 (file)
@@ -16,7 +16,7 @@
 #include "clang/Parse/ParseDiagnostic.h"
 #include "clang/Parse/Scope.h"
 #include "clang/Parse/Template.h"
-#include "ExtensionRAIIObject.h"
+#include "RAIIObjectsForParser.h"
 #include "llvm/ADT/SmallSet.h"
 using namespace clang;
 
index b52065f3d07ba0f5926198eeb9200fc0942c478d..f96b3c7cb22d817447e4eeb61a9a483ec2ccedf1 100644 (file)
@@ -17,7 +17,7 @@
 #include "clang/Parse/DeclSpec.h"
 #include "clang/Parse/Scope.h"
 #include "clang/Parse/Template.h"
-#include "ExtensionRAIIObject.h"
+#include "RAIIObjectsForParser.h"
 using namespace clang;
 
 /// ParseNamespace - We know that the current token is a namespace keyword. This
index 7b8bc3e84578ec78d483080d1c411c3f91d84d05..54131e0ccc5065ed487d0a1ce52627a6fd94b0e7 100644 (file)
@@ -23,7 +23,7 @@
 #include "clang/Parse/DeclSpec.h"
 #include "clang/Parse/Scope.h"
 #include "clang/Basic/PrettyStackTrace.h"
-#include "ExtensionRAIIObject.h"
+#include "RAIIObjectsForParser.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/SmallString.h"
 using namespace clang;
index c87010e356a08241efe0d8ff577d9b8200f8616e..f0de3f534562824c7570003ecc454ca37d3f2efd 100644 (file)
@@ -13,7 +13,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "clang/Parse/Parser.h"
-#include "ExtensionRAIIObject.h"
+#include "RAIIObjectsForParser.h"
 #include "clang/Parse/DeclSpec.h"
 #include "clang/Parse/Scope.h"
 #include "clang/Basic/Diagnostic.h"
index b6e566518f2b39a6e3294a6f6a4a7571d2f312ac..a29d4993dd5843417b547528fddd187f5f40529a 100644 (file)
@@ -17,7 +17,7 @@
 #include "clang/Parse/Scope.h"
 #include "clang/Parse/Template.h"
 #include "llvm/Support/raw_ostream.h"
-#include "ExtensionRAIIObject.h"
+#include "RAIIObjectsForParser.h"
 #include "ParsePragma.h"
 using namespace clang;
 
similarity index 78%
rename from lib/Parse/ExtensionRAIIObject.h
rename to lib/Parse/RAIIObjectsForParser.h
index cc7c8e21705c14adeefc3a8f29ad386c18b53f79..d642da58d5031d300c54c9865a9535d23d655c6a 100644 (file)
@@ -1,4 +1,4 @@
-//===--- ExtensionRAIIObject.h - Use RAII for __extension__ -----*- C++ -*-===//
+//===--- RAIIObjectsForParser.h - RAII helpers for the parser ---*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,12 +7,13 @@
 //
 //===----------------------------------------------------------------------===//
 //
-//  This file defines and implements the ExtensionRAIIObject class.
+// This file defines and implements the some simple RAII objects that are used
+// by the parser to manage bits in recursion.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_CLANG_PARSE_EXTENSION_RAII_OBJECT_H
-#define LLVM_CLANG_PARSE_EXTENSION_RAII_OBJECT_H
+#ifndef LLVM_CLANG_PARSE_RAII_OBJECTS_FOR_PARSER_H
+#define LLVM_CLANG_PARSE_RAII_OBJECTS_FOR_PARSER_H
 
 #include "clang/Parse/ParseDiagnostic.h"