]> granicus.if.org Git - clang/commitdiff
rename ASTSTreamer.{h|cpp} -> ParseAST.{h|cpp}
authorChris Lattner <sabre@nondot.org>
Wed, 6 Feb 2008 00:23:21 +0000 (00:23 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 6 Feb 2008 00:23:21 +0000 (00:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46786 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/DiagChecker.cpp
Driver/clang.cpp
Sema/ParseAST.cpp [moved from Sema/ASTStreamer.cpp with 93% similarity]
clang.xcodeproj/project.pbxproj
include/clang/Sema/ParseAST.h [moved from include/clang/Sema/ASTStreamer.h with 76% similarity]

index 73f617e656bcbcf86fb685fd13872c96d690cfbf..c06026764033e5ceead89df17c1f413563ec8d89 100644 (file)
@@ -14,7 +14,7 @@
 #include "clang.h"
 #include "ASTConsumers.h"
 #include "TextDiagnosticBuffer.h"
-#include "clang/Sema/ASTStreamer.h"
+#include "clang/Sema/ParseAST.h"
 #include "clang/AST/ASTConsumer.h"
 #include "clang/Basic/SourceManager.h"
 #include "clang/Lex/Preprocessor.h"
index 5eabc7271199e10cc390bab108cb5950cb35abfe..3aabdc312cb0debb1ad91993b0605c804f93e8b7 100644 (file)
@@ -27,7 +27,7 @@
 #include "TextDiagnosticBuffer.h"
 #include "TextDiagnosticPrinter.h"
 #include "clang/AST/TranslationUnit.h"
-#include "clang/Sema/ASTStreamer.h"
+#include "clang/Sema/ParseAST.h"
 #include "clang/AST/ASTConsumer.h"
 #include "clang/Parse/Parser.h"
 #include "clang/Lex/HeaderSearch.h"
similarity index 93%
rename from Sema/ASTStreamer.cpp
rename to Sema/ParseAST.cpp
index 5346a59ae1ae6de0c330d4a85a23ad55f668d0c7..92e8d247e657ec84dc43189d1e7aa1b5e64d6de8 100644 (file)
@@ -1,4 +1,4 @@
-//===--- ASTStreamer.cpp - Provide streaming interface to ASTs ------------===//
+//===--- ParseAST.cpp - Provide the clang::ParseAST method ----------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,11 +7,11 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file implements the ASTStreamer interface.
+// This file implements the clang::ParseAST method.
 //
 //===----------------------------------------------------------------------===//
 
-#include "clang/Sema/ASTStreamer.h"
+#include "clang/Sema/ParseAST.h"
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/ASTConsumer.h"
 #include "Sema.h"
index 7e2c3576e86a34f924485e3fb572c973b6ae6c3b..e89449280828c021fa36a4d76523574c02d5732b 100644 (file)
@@ -82,8 +82,8 @@
                DE67E7130C020ED900F66BC5 /* SemaDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE67E7120C020ED900F66BC5 /* SemaDecl.cpp */; };
                DE67E7150C020EDF00F66BC5 /* Sema.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE67E7140C020EDF00F66BC5 /* Sema.h */; };
                DE67E7170C020EE400F66BC5 /* Sema.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE67E7160C020EE400F66BC5 /* Sema.cpp */; };
-               DE67E71A0C020F4F00F66BC5 /* ASTStreamer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE67E7190C020F4F00F66BC5 /* ASTStreamer.cpp */; };
-               DE67E7280C02109800F66BC5 /* ASTStreamer.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE67E7270C02109800F66BC5 /* ASTStreamer.h */; };
+               DE67E71A0C020F4F00F66BC5 /* ParseAST.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE67E7190C020F4F00F66BC5 /* ParseAST.cpp */; };
+               DE67E7280C02109800F66BC5 /* ParseAST.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE67E7270C02109800F66BC5 /* ParseAST.h */; };
                DE6951C70C4D1F5D00A5826B /* RecordLayout.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE6951C60C4D1F5D00A5826B /* RecordLayout.h */; };
                DE6954640C5121BD00A5826B /* Token.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE6954630C5121BD00A5826B /* Token.h */; };
                DE704B260D0FBEBE009C7762 /* SemaDeclObjC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE704B250D0FBEBE009C7762 /* SemaDeclObjC.cpp */; };
                                1A30A9E90B93A4C800201A91 /* ExprCXX.h in CopyFiles */,
                                1A869A700BA2164C008DA07A /* LiteralSupport.h in CopyFiles */,
                                DE67E7150C020EDF00F66BC5 /* Sema.h in CopyFiles */,
-                               DE67E7280C02109800F66BC5 /* ASTStreamer.h in CopyFiles */,
+                               DE67E7280C02109800F66BC5 /* ParseAST.h in CopyFiles */,
                                DE928B200C0565B000231DA4 /* ModuleBuilder.h in CopyFiles */,
                                DE928B7D0C0A615100231DA4 /* CodeGenModule.h in CopyFiles */,
                                DE928B810C0A615B00231DA4 /* CodeGenFunction.h in CopyFiles */,
                DE67E7120C020ED900F66BC5 /* SemaDecl.cpp */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 2; lastKnownFileType = sourcecode.cpp.cpp; name = SemaDecl.cpp; path = Sema/SemaDecl.cpp; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; };
                DE67E7140C020EDF00F66BC5 /* Sema.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Sema.h; path = Sema/Sema.h; sourceTree = "<group>"; };
                DE67E7160C020EE400F66BC5 /* Sema.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Sema.cpp; path = Sema/Sema.cpp; sourceTree = "<group>"; };
-               DE67E7190C020F4F00F66BC5 /* ASTStreamer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ASTStreamer.cpp; path = Sema/ASTStreamer.cpp; sourceTree = "<group>"; };
-               DE67E7270C02109800F66BC5 /* ASTStreamer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ASTStreamer.h; path = clang/Sema/ASTStreamer.h; sourceTree = "<group>"; };
+               DE67E7190C020F4F00F66BC5 /* ParseAST.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ParseAST.cpp; path = Sema/ParseAST.cpp; sourceTree = "<group>"; };
+               DE67E7270C02109800F66BC5 /* ParseAST.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ParseAST.h; path = clang/Sema/ParseAST.h; sourceTree = "<group>"; };
                DE6951C60C4D1F5D00A5826B /* RecordLayout.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = RecordLayout.h; path = clang/AST/RecordLayout.h; sourceTree = "<group>"; };
                DE6954630C5121BD00A5826B /* Token.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = Token.h; sourceTree = "<group>"; };
                DE704B250D0FBEBE009C7762 /* SemaDeclObjC.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SemaDeclObjC.cpp; path = Sema/SemaDeclObjC.cpp; sourceTree = "<group>"; };
                DE67E7070C020EAB00F66BC5 /* Sema */ = {
                        isa = PBXGroup;
                        children = (
-                               DE67E7190C020F4F00F66BC5 /* ASTStreamer.cpp */,
+                               DE67E7190C020F4F00F66BC5 /* ParseAST.cpp */,
                                DE67E7140C020EDF00F66BC5 /* Sema.h */,
                                35A2B8610CF8FFA300E6C317 /* SemaUtil.h */,
                                DE67E7160C020EE400F66BC5 /* Sema.cpp */,
                DE67E7260C02108300F66BC5 /* Sema */ = {
                        isa = PBXGroup;
                        children = (
-                               DE67E7270C02109800F66BC5 /* ASTStreamer.h */,
+                               DE67E7270C02109800F66BC5 /* ParseAST.h */,
                        );
                        name = Sema;
                        sourceTree = "<group>";
                                DE67E7110C020ED400F66BC5 /* SemaExpr.cpp in Sources */,
                                DE67E7130C020ED900F66BC5 /* SemaDecl.cpp in Sources */,
                                DE67E7170C020EE400F66BC5 /* Sema.cpp in Sources */,
-                               DE67E71A0C020F4F00F66BC5 /* ASTStreamer.cpp in Sources */,
+                               DE67E71A0C020F4F00F66BC5 /* ParseAST.cpp in Sources */,
                                DE06756C0C051CFE00EBBFD8 /* ParseExprCXX.cpp in Sources */,
                                DE928B130C05659200231DA4 /* ModuleBuilder.cpp in Sources */,
                                DE928B7F0C0A615600231DA4 /* CodeGenModule.cpp in Sources */,
similarity index 76%
rename from include/clang/Sema/ASTStreamer.h
rename to include/clang/Sema/ParseAST.h
index 227c3a5d12b19fb9f31fcf21eea61516d0f1e7b7..61ce30d9f4ee0413ac84136751ac7b6f45a73526 100644 (file)
@@ -1,4 +1,4 @@
-//===--- ASTStreamer.h - Stream ASTs for top-level decls --------*- C++ -*-===//
+//===--- ParseAST.h - Define the ParseAST method ----------------*- C++ -*-===//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,17 +7,15 @@
 //
 //===----------------------------------------------------------------------===//
 //
-//  This file defines the ASTStreamer interface.
+//  This file defines the clang::ParseAST method.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_CLANG_AST_ASTSTREAMER_H
-#define LLVM_CLANG_AST_ASTSTREAMER_H
+#ifndef LLVM_CLANG_SEMA_PARSEAST_H
+#define LLVM_CLANG_SEMA_PARSEAST_H
 
 namespace clang {
   class Preprocessor;
-  class ASTContext;
-  class Decl;
   class ASTConsumer;
   
   /// ParseAST - Parse the entire file specified, notifying the ASTConsumer as