From: Chris Lattner Date: Sun, 7 Oct 2007 06:04:32 +0000 (+0000) Subject: Rename ASTStreamers.* -> ASTConsumers.* X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97e8b6f3c5c578f35c3f392cc7cfdec88cef74f2;p=clang Rename ASTStreamers.* -> ASTConsumers.* git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42718 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/ASTStreamers.cpp b/Driver/ASTConsumers.cpp similarity index 98% rename from Driver/ASTStreamers.cpp rename to Driver/ASTConsumers.cpp index a07cbc6314..ddacfa88c1 100644 --- a/Driver/ASTStreamers.cpp +++ b/Driver/ASTConsumers.cpp @@ -1,17 +1,17 @@ -//===--- ASTStreamers.cpp - ASTStreamer Drivers ---------------------------===// +//===--- ASTConsumers.cpp - ASTConsumer implementations -------------------===// // // The LLVM Compiler Infrastructure // -// This file was developed by Bill Wendling and is distributed under the +// This file was developed by Chris Lattner and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // -// ASTStreamer drivers. +// AST Consumer Implementations. // //===----------------------------------------------------------------------===// -#include "ASTStreamers.h" +#include "ASTConsumers.h" #include "clang/AST/AST.h" #include "clang/AST/ASTConsumer.h" #include "clang/AST/CFG.h" diff --git a/Driver/ASTStreamers.h b/Driver/ASTConsumers.h similarity index 78% rename from Driver/ASTStreamers.h rename to Driver/ASTConsumers.h index 129241e379..4265672b95 100644 --- a/Driver/ASTStreamers.h +++ b/Driver/ASTConsumers.h @@ -1,18 +1,18 @@ -//===--- ASTStreamers.h - ASTStreamer Drivers -------------------*- C++ -*-===// +//===--- ASTConsumers.h - ASTConsumer implementations -----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // -// This file was developed by Bill Wendling and is distributed under the +// This file was developed by Chris Lattner and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // -// AST Streamers. +// AST Consumers. // //===----------------------------------------------------------------------===// -#ifndef DRIVER_ASTSTREAMERS_H_ -#define DRIVER_ASTSTREAMERS_H_ +#ifndef DRIVER_ASTCONSUMERS_H +#define DRIVER_ASTCONSUMERS_H namespace clang { diff --git a/Driver/DiagChecker.cpp b/Driver/DiagChecker.cpp index 8ffd5eea5c..e73bed6a74 100644 --- a/Driver/DiagChecker.cpp +++ b/Driver/DiagChecker.cpp @@ -12,7 +12,7 @@ //===----------------------------------------------------------------------===// #include "clang.h" -#include "ASTStreamers.h" +#include "ASTConsumers.h" #include "TextDiagnosticBuffer.h" #include "clang/Sema/ASTStreamer.h" #include "clang/AST/ASTConsumer.h" diff --git a/Driver/clang.cpp b/Driver/clang.cpp index f1dc6a08d8..cbce35a958 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -23,7 +23,7 @@ //===----------------------------------------------------------------------===// #include "clang.h" -#include "ASTStreamers.h" +#include "ASTConsumers.h" #include "TextDiagnosticBuffer.h" #include "TextDiagnosticPrinter.h" #include "clang/Sema/ASTStreamer.h" diff --git a/clang.xcodeproj/project.pbxproj b/clang.xcodeproj/project.pbxproj index 22a3173a06..4ca31d8b25 100644 --- a/clang.xcodeproj/project.pbxproj +++ b/clang.xcodeproj/project.pbxproj @@ -51,6 +51,8 @@ DE3461270AFE68BE00DBC861 /* MinimalAction.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE3461260AFE68BE00DBC861 /* MinimalAction.cpp */; }; DE34621D0AFEB19B00DBC861 /* StmtPrinter.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE34621C0AFEB19B00DBC861 /* StmtPrinter.cpp */; }; DE3464220B03040900DBC861 /* Type.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE3464210B03040900DBC861 /* Type.h */; }; + DE3985790CB8ADC800223765 /* ASTConsumers.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE3985780CB8ADC800223765 /* ASTConsumers.h */; }; + DE39857B0CB8ADCB00223765 /* ASTConsumers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE39857A0CB8ADCB00223765 /* ASTConsumers.cpp */; }; DE4264FC0C113592005A861D /* CGDecl.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE4264FB0C113592005A861D /* CGDecl.cpp */; }; DE46BF280AE0A82D00CC047C /* TargetInfo.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DE46BF270AE0A82D00CC047C /* TargetInfo.h */; }; DE4772FA0C10EAE5002239E8 /* CGStmt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DE4772F90C10EAE5002239E8 /* CGStmt.cpp */; }; @@ -126,8 +128,6 @@ DEEBC3BC0C2363BC00A9FE82 /* CodeGenTypes.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEEBC3BB0C2363BC00A9FE82 /* CodeGenTypes.cpp */; }; DEEBCBE30C33702C00A9FE82 /* TextDiagnosticBuffer.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEEBCBE20C33702C00A9FE82 /* TextDiagnosticBuffer.h */; }; DEEBCBE50C33703100A9FE82 /* TextDiagnosticBuffer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEEBCBE40C33703100A9FE82 /* TextDiagnosticBuffer.cpp */; }; - DEF2E9320C5FB9FB000C4259 /* ASTStreamers.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEF2E9310C5FB9FB000C4259 /* ASTStreamers.h */; }; - DEF2E9340C5FBA02000C4259 /* ASTStreamers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEF2E9330C5FBA02000C4259 /* ASTStreamers.cpp */; }; DEF2E95F0C5FBD74000C4259 /* InternalsManual.html in CopyFiles */ = {isa = PBXBuildFile; fileRef = DEF2E95E0C5FBD74000C4259 /* InternalsManual.html */; }; DEF2EDA70C6A4252000C4259 /* StmtDumper.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEF2EDA60C6A4252000C4259 /* StmtDumper.cpp */; }; DEF2EFF30C6CDD74000C4259 /* CGExprAgg.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DEF2EFF20C6CDD74000C4259 /* CGExprAgg.cpp */; }; @@ -199,11 +199,11 @@ DEEBCBE30C33702C00A9FE82 /* TextDiagnosticBuffer.h in CopyFiles */, DE6951C70C4D1F5D00A5826B /* RecordLayout.h in CopyFiles */, DE6954640C5121BD00A5826B /* Token.h in CopyFiles */, - DEF2E9320C5FB9FB000C4259 /* ASTStreamers.h in CopyFiles */, DEF2E95F0C5FBD74000C4259 /* InternalsManual.html in CopyFiles */, DEC63B1C0C7B940600DBF169 /* CFG.h in CopyFiles */, DEF7D9F70C9C8B1A0001F598 /* Rewriter.h in CopyFiles */, 84AF36A10CB17A3B00C820A5 /* DeclObjC.h in CopyFiles */, + DE3985790CB8ADC800223765 /* ASTConsumers.h in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 1; }; @@ -269,6 +269,8 @@ DE3461260AFE68BE00DBC861 /* MinimalAction.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = MinimalAction.cpp; path = Parse/MinimalAction.cpp; sourceTree = ""; }; DE34621C0AFEB19B00DBC861 /* StmtPrinter.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = StmtPrinter.cpp; path = AST/StmtPrinter.cpp; sourceTree = ""; }; DE3464210B03040900DBC861 /* Type.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Type.h; path = clang/AST/Type.h; sourceTree = ""; }; + DE3985780CB8ADC800223765 /* ASTConsumers.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ASTConsumers.h; path = Driver/ASTConsumers.h; sourceTree = ""; }; + DE39857A0CB8ADCB00223765 /* ASTConsumers.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ASTConsumers.cpp; path = Driver/ASTConsumers.cpp; sourceTree = ""; }; DE4264FB0C113592005A861D /* CGDecl.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = CGDecl.cpp; path = CodeGen/CGDecl.cpp; sourceTree = ""; }; DE46BF270AE0A82D00CC047C /* TargetInfo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = TargetInfo.h; sourceTree = ""; }; DE4772F90C10EAE5002239E8 /* CGStmt.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = CGStmt.cpp; path = CodeGen/CGStmt.cpp; sourceTree = ""; }; @@ -344,8 +346,6 @@ DEEBC3BB0C2363BC00A9FE82 /* CodeGenTypes.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = CodeGenTypes.cpp; path = CodeGen/CodeGenTypes.cpp; sourceTree = ""; }; DEEBCBE20C33702C00A9FE82 /* TextDiagnosticBuffer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = TextDiagnosticBuffer.h; path = Driver/TextDiagnosticBuffer.h; sourceTree = ""; }; DEEBCBE40C33703100A9FE82 /* TextDiagnosticBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = TextDiagnosticBuffer.cpp; path = Driver/TextDiagnosticBuffer.cpp; sourceTree = ""; }; - DEF2E9310C5FB9FB000C4259 /* ASTStreamers.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ASTStreamers.h; path = Driver/ASTStreamers.h; sourceTree = ""; }; - DEF2E9330C5FBA02000C4259 /* ASTStreamers.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ASTStreamers.cpp; path = Driver/ASTStreamers.cpp; sourceTree = ""; }; DEF2E95E0C5FBD74000C4259 /* InternalsManual.html */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.html; name = InternalsManual.html; path = docs/InternalsManual.html; sourceTree = ""; }; DEF2EDA60C6A4252000C4259 /* StmtDumper.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = StmtDumper.cpp; path = AST/StmtDumper.cpp; sourceTree = ""; }; DEF2EFF20C6CDD74000C4259 /* CGExprAgg.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = CGExprAgg.cpp; path = CodeGen/CGExprAgg.cpp; sourceTree = ""; }; @@ -554,8 +554,8 @@ children = ( DE5932CD0AD60FF400BC794C /* clang.cpp */, DE5932CE0AD60FF400BC794C /* clang.h */, - DEF2E9330C5FBA02000C4259 /* ASTStreamers.cpp */, - DEF2E9310C5FB9FB000C4259 /* ASTStreamers.h */, + DE3985780CB8ADC800223765 /* ASTConsumers.h */, + DE39857A0CB8ADCB00223765 /* ASTConsumers.cpp */, DED67AEF0B6DB92F00AAD4A3 /* PPCBuiltins.def */, DED67AED0B6DB92A00AAD4A3 /* X86Builtins.def */, DEC82DC30C32D50A00BAC245 /* DiagChecker.cpp */, @@ -808,7 +808,6 @@ DEEBC3BC0C2363BC00A9FE82 /* CodeGenTypes.cpp in Sources */, DEC82DC40C32D50A00BAC245 /* DiagChecker.cpp in Sources */, DEEBCBE50C33703100A9FE82 /* TextDiagnosticBuffer.cpp in Sources */, - DEF2E9340C5FBA02000C4259 /* ASTStreamers.cpp in Sources */, DEF2EDA70C6A4252000C4259 /* StmtDumper.cpp in Sources */, DEF2EFF30C6CDD74000C4259 /* CGExprAgg.cpp in Sources */, DEF2F0100C6CFED5000C4259 /* SemaChecking.cpp in Sources */, @@ -824,6 +823,7 @@ DEF7D9F90C9C8B1D0001F598 /* Rewriter.cpp in Sources */, 3513BD550C9F207900FA56C6 /* UninitializedValues.cpp in Sources */, 35CFFE000CA1CBCB00E6F2BE /* StmtViz.cpp in Sources */, + DE39857B0CB8ADCB00223765 /* ASTConsumers.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; };