diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-06 00:23:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-06 00:23:21 +0000 |
commit | e91c134d8fee0179d4e88235fe3ac721bb467cd8 (patch) | |
tree | bff53ea1387785956f8942f4c6839e5c1fc8d94b | |
parent | a0e328f9953e2d8e83227ffa601f5a606b7aa062 (diff) |
rename ASTSTreamer.{h|cpp} -> ParseAST.{h|cpp}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46786 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Driver/DiagChecker.cpp | 2 | ||||
-rw-r--r-- | Driver/clang.cpp | 2 | ||||
-rw-r--r-- | Sema/ParseAST.cpp (renamed from Sema/ASTStreamer.cpp) | 6 | ||||
-rw-r--r-- | clang.xcodeproj/project.pbxproj | 16 | ||||
-rw-r--r-- | include/clang/Sema/ParseAST.h (renamed from include/clang/Sema/ASTStreamer.h) | 10 |
5 files changed, 17 insertions, 19 deletions
diff --git a/Driver/DiagChecker.cpp b/Driver/DiagChecker.cpp index 73f617e656..c060267640 100644 --- a/Driver/DiagChecker.cpp +++ b/Driver/DiagChecker.cpp @@ -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" diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 5eabc72711..3aabdc312c 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -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" diff --git a/Sema/ASTStreamer.cpp b/Sema/ParseAST.cpp index 5346a59ae1..92e8d247e6 100644 --- a/Sema/ASTStreamer.cpp +++ b/Sema/ParseAST.cpp @@ -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" diff --git a/clang.xcodeproj/project.pbxproj b/clang.xcodeproj/project.pbxproj index 7e2c3576e8..e894492808 100644 --- a/clang.xcodeproj/project.pbxproj +++ b/clang.xcodeproj/project.pbxproj @@ -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 */; }; @@ -196,7 +196,7 @@ 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 */, @@ -317,8 +317,8 @@ 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>"; }; @@ -544,7 +544,7 @@ DE67E7070C020EAB00F66BC5 /* Sema */ = { isa = PBXGroup; children = ( - DE67E7190C020F4F00F66BC5 /* ASTStreamer.cpp */, + DE67E7190C020F4F00F66BC5 /* ParseAST.cpp */, DE67E7140C020EDF00F66BC5 /* Sema.h */, 35A2B8610CF8FFA300E6C317 /* SemaUtil.h */, DE67E7160C020EE400F66BC5 /* Sema.cpp */, @@ -563,7 +563,7 @@ DE67E7260C02108300F66BC5 /* Sema */ = { isa = PBXGroup; children = ( - DE67E7270C02109800F66BC5 /* ASTStreamer.h */, + DE67E7270C02109800F66BC5 /* ParseAST.h */, ); name = Sema; sourceTree = "<group>"; @@ -859,7 +859,7 @@ 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 */, diff --git a/include/clang/Sema/ASTStreamer.h b/include/clang/Sema/ParseAST.h index 227c3a5d12..61ce30d9f4 100644 --- a/include/clang/Sema/ASTStreamer.h +++ b/include/clang/Sema/ParseAST.h @@ -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 |