[cfe-commits] r42718 - in /cfe/trunk: Driver/ASTConsumers.cpp Driver/ASTConsumers.h Driver/ASTStreamers.cpp Driver/ASTStreamers.h Driver/DiagChecker.cpp Driver/clang.cpp clang.xcodeproj/project.pbxproj
Chris Lattner
sabre at nondot.org
Sat Oct 6 23:04:32 PDT 2007
Author: lattner
Date: Sun Oct 7 01:04:32 2007
New Revision: 42718
URL: http://llvm.org/viewvc/llvm-project?rev=42718&view=rev
Log:
Rename ASTStreamers.* -> ASTConsumers.*
Added:
cfe/trunk/Driver/ASTConsumers.cpp
- copied, changed from r42713, cfe/trunk/Driver/ASTStreamers.cpp
cfe/trunk/Driver/ASTConsumers.h
- copied, changed from r42713, cfe/trunk/Driver/ASTStreamers.h
Removed:
cfe/trunk/Driver/ASTStreamers.cpp
cfe/trunk/Driver/ASTStreamers.h
Modified:
cfe/trunk/Driver/DiagChecker.cpp
cfe/trunk/Driver/clang.cpp
cfe/trunk/clang.xcodeproj/project.pbxproj
Copied: cfe/trunk/Driver/ASTConsumers.cpp (from r42713, cfe/trunk/Driver/ASTStreamers.cpp)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/ASTConsumers.cpp?p2=cfe/trunk/Driver/ASTConsumers.cpp&p1=cfe/trunk/Driver/ASTStreamers.cpp&r1=42713&r2=42718&rev=42718&view=diff
==============================================================================
--- cfe/trunk/Driver/ASTStreamers.cpp (original)
+++ cfe/trunk/Driver/ASTConsumers.cpp Sun Oct 7 01:04:32 2007
@@ -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"
Copied: cfe/trunk/Driver/ASTConsumers.h (from r42713, cfe/trunk/Driver/ASTStreamers.h)
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/ASTConsumers.h?p2=cfe/trunk/Driver/ASTConsumers.h&p1=cfe/trunk/Driver/ASTStreamers.h&r1=42713&r2=42718&rev=42718&view=diff
==============================================================================
--- cfe/trunk/Driver/ASTStreamers.h (original)
+++ cfe/trunk/Driver/ASTConsumers.h Sun Oct 7 01:04:32 2007
@@ -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 {
Removed: cfe/trunk/Driver/ASTStreamers.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/ASTStreamers.cpp?rev=42717&view=auto
==============================================================================
--- cfe/trunk/Driver/ASTStreamers.cpp (original)
+++ cfe/trunk/Driver/ASTStreamers.cpp (removed)
@@ -1,356 +0,0 @@
-//===--- ASTStreamers.cpp - ASTStreamer Drivers ---------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Bill Wendling and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// ASTStreamer drivers.
-//
-//===----------------------------------------------------------------------===//
-
-#include "ASTStreamers.h"
-#include "clang/AST/AST.h"
-#include "clang/AST/ASTConsumer.h"
-#include "clang/AST/CFG.h"
-#include "clang/Analysis/LiveVariables.h"
-#include "clang/Analysis/LocalCheckers.h"
-using namespace clang;
-
-
-static void PrintFunctionDeclStart(FunctionDecl *FD) {
- bool HasBody = FD->getBody();
-
- fprintf(stderr, "\n");
-
- switch (FD->getStorageClass()) {
- default: assert(0 && "Unknown storage class");
- case FunctionDecl::None: break;
- case FunctionDecl::Extern: fprintf(stderr, "extern "); break;
- case FunctionDecl::Static: fprintf(stderr, "static "); break;
- }
-
- if (FD->isInline())
- fprintf(stderr, "inline ");
-
- std::string Proto = FD->getName();
- FunctionType *AFT = cast<FunctionType>(FD->getType());
-
- if (FunctionTypeProto *FT = dyn_cast<FunctionTypeProto>(AFT)) {
- Proto += "(";
- for (unsigned i = 0, e = FD->getNumParams(); i != e; ++i) {
- if (i) Proto += ", ";
- std::string ParamStr;
- if (HasBody) ParamStr = FD->getParamDecl(i)->getName();
-
- FT->getArgType(i).getAsStringInternal(ParamStr);
- Proto += ParamStr;
- }
-
- if (FT->isVariadic()) {
- if (FD->getNumParams()) Proto += ", ";
- Proto += "...";
- }
- Proto += ")";
- } else {
- assert(isa<FunctionTypeNoProto>(AFT));
- Proto += "()";
- }
-
- AFT->getResultType().getAsStringInternal(Proto);
- fprintf(stderr, "%s", Proto.c_str());
-
- if (!FD->getBody())
- fprintf(stderr, ";\n");
- // Doesn't print the body.
-}
-
-static void PrintTypeDefDecl(TypedefDecl *TD) {
- std::string S = TD->getName();
- TD->getUnderlyingType().getAsStringInternal(S);
- fprintf(stderr, "typedef %s;\n", S.c_str());
-}
-
-static void PrintObjcInterfaceDecl(ObjcInterfaceDecl *OID) {
- std::string S = OID->getName();
- fprintf(stderr, "@interface %s;\n", S.c_str());
- // FIXME: implement the rest...
-}
-
-namespace {
- class ASTPrinter : public ASTConsumer {
- virtual void HandleTopLevelDecl(Decl *D) {
- if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
- PrintFunctionDeclStart(FD);
-
- if (FD->getBody()) {
- fprintf(stderr, " ");
- FD->getBody()->dumpPretty();
- fprintf(stderr, "\n");
- }
- } else if (TypedefDecl *TD = dyn_cast<TypedefDecl>(D)) {
- PrintTypeDefDecl(TD);
- } else if (ScopedDecl *SD = dyn_cast<ScopedDecl>(D)) {
- fprintf(stderr, "Read top-level variable decl: '%s'\n", SD->getName());
- } else if (ObjcInterfaceDecl *OID = dyn_cast<ObjcInterfaceDecl>(D)) {
- PrintObjcInterfaceDecl(OID);
- } else if (ObjcForwardProtocolDecl *OFPD =
- dyn_cast<ObjcForwardProtocolDecl>(D)) {
- fprintf(stderr, "@protocol ");
- for (unsigned i = 0, e = OFPD->getNumForwardDecls(); i != e; ++i) {
- const ObjcProtocolDecl *D = OFPD->getForwardProtocolDecl(i);
- if (i) fprintf(stderr, ", ");
- fprintf(stderr, "%s", D->getName());
- }
- fprintf(stderr, ";\n");
- } else if (ObjcImplementationDecl *OID =
- dyn_cast<ObjcImplementationDecl>(D)) {
- fprintf(stderr, "@implementation %s [printing todo]\n",
- OID->getName());
- } else if (isa<ObjcClassDecl>(D)) {
- fprintf(stderr, "@class [printing todo]\n");
- } else {
- assert(0 && "Unknown decl type!");
- }
- }
- };
-}
-
-ASTConsumer *clang::CreateASTPrinter() { return new ASTPrinter(); }
-
-namespace {
- class ASTDumper : public ASTConsumer {
- SourceManager *SM;
- public:
- void Initialize(ASTContext &Context, unsigned MainFileID) {
- SM = &Context.SourceMgr;
- }
-
- virtual void HandleTopLevelDecl(Decl *D) {
- if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
- PrintFunctionDeclStart(FD);
-
- if (FD->getBody()) {
- fprintf(stderr, "\n");
- FD->getBody()->dumpAll(*SM);
- fprintf(stderr, "\n");
- }
- } else if (TypedefDecl *TD = dyn_cast<TypedefDecl>(D)) {
- PrintTypeDefDecl(TD);
- } else if (ScopedDecl *SD = dyn_cast<ScopedDecl>(D)) {
- fprintf(stderr, "Read top-level variable decl: '%s'\n", SD->getName());
- } else if (ObjcInterfaceDecl *OID = dyn_cast<ObjcInterfaceDecl>(D)) {
- fprintf(stderr, "Read objc interface '%s'\n", OID->getName());
- } else if (isa<ObjcForwardProtocolDecl>(D)) {
- fprintf(stderr, "Read objc fwd protocol decl\n");
- } else {
- assert(0 && "Unknown decl type!");
- }
- }
- };
-}
-
-ASTConsumer *clang::CreateASTDumper() { return new ASTDumper(); }
-
-namespace {
- class ASTViewer : public ASTConsumer {
- SourceManager *SM;
- public:
- void Initialize(ASTContext &Context, unsigned MainFileID) {
- SM = &Context.SourceMgr;
- }
-
- virtual void HandleTopLevelDecl(Decl *D) {
- if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
- PrintFunctionDeclStart(FD);
-
- if (FD->getBody()) {
- fprintf(stderr, "\n");
- FD->getBody()->viewAST();
- fprintf(stderr, "\n");
- }
- }
- }
- };
-}
-
-ASTConsumer *clang::CreateASTViewer() { return new ASTViewer(); }
-
-
-//===----------------------------------------------------------------------===//
-// CFGVisitor & VisitCFGs - Boilerplate interface and logic to visit
-// the CFGs for all function definitions.
-
-namespace {
-
-class CFGVisitor : public ASTConsumer {
-public:
- // CFG Visitor interface to be implemented by subclass.
- virtual void VisitCFG(CFG& C) = 0;
- virtual bool printFuncDeclStart() { return true; }
-
- virtual void HandleTopLevelDecl(Decl *D);
-};
-
-} // end anonymous namespace
-
-void CFGVisitor::HandleTopLevelDecl(Decl *D) {
- FunctionDecl *FD = dyn_cast<FunctionDecl>(D);
- if (!FD || !FD->getBody())
- return;
-
- if (printFuncDeclStart()) {
- PrintFunctionDeclStart(FD);
- fprintf(stderr,"\n");
- }
-
- CFG *C = CFG::buildCFG(FD->getBody());
- VisitCFG(*C);
- delete C;
-}
-
-//===----------------------------------------------------------------------===//
-// DumpCFGs - Dump CFGs to stderr or visualize with Graphviz
-
-namespace {
- class CFGDumper : public CFGVisitor {
- const bool UseGraphviz;
- public:
- CFGDumper(bool use_graphviz) : UseGraphviz(use_graphviz) {}
-
- virtual void VisitCFG(CFG &C) {
- if (UseGraphviz)
- C.viewCFG();
- else
- C.dump();
- }
- };
-} // end anonymous namespace
-
-ASTConsumer *clang::CreateCFGDumper(bool ViewGraphs) {
- return new CFGDumper(ViewGraphs);
-}
-
-//===----------------------------------------------------------------------===//
-// AnalyzeLiveVariables - perform live variable analysis and dump results
-
-namespace {
- class LivenessVisitor : public CFGVisitor {
- SourceManager *SM;
- public:
- virtual void Initialize(ASTContext &Context, unsigned MainFileID) {
- SM = &Context.SourceMgr;
- }
-
- virtual void VisitCFG(CFG& C) {
- LiveVariables L(C);
- L.runOnCFG(C);
- L.dumpBlockLiveness(*SM);
- }
- };
-} // end anonymous namespace
-
-ASTConsumer *clang::CreateLiveVarAnalyzer() {
- return new LivenessVisitor();
-}
-
-//===----------------------------------------------------------------------===//
-// DeadStores - run checker to locate dead stores in a function
-
-namespace {
- class DeadStoreVisitor : public CFGVisitor {
- Diagnostic &Diags;
- ASTContext *Ctx;
- public:
- DeadStoreVisitor(Diagnostic &diags) : Diags(diags) {}
- virtual void Initialize(ASTContext &Context, unsigned MainFileID) {
- Ctx = &Context;
- }
-
- virtual void VisitCFG(CFG& C) { CheckDeadStores(C, *Ctx, Diags); }
- virtual bool printFuncDeclStart() { return false; }
- };
-} // end anonymous namespace
-
-ASTConsumer *clang::CreateDeadStoreChecker(Diagnostic &Diags) {
- return new DeadStoreVisitor(Diags);
-}
-
-//===----------------------------------------------------------------------===//
-// Unitialized Values - run checker to flag potential uses of uninitalized
-// variables.
-
-namespace {
- class UninitValsVisitor : public CFGVisitor {
- Diagnostic &Diags;
- ASTContext *Ctx;
- public:
- UninitValsVisitor(Diagnostic &diags) : Diags(diags) {}
- virtual void Initialize(ASTContext &Context, unsigned MainFileID) {
- Ctx = &Context;
- }
-
- virtual void VisitCFG(CFG& C) { CheckUninitializedValues(C, *Ctx, Diags); }
- virtual bool printFuncDeclStart() { return false; }
- };
-} // end anonymous namespace
-
-ASTConsumer *clang::CreateUnitValsChecker(Diagnostic &Diags) {
- return new UninitValsVisitor(Diags);
-}
-
-//===----------------------------------------------------------------------===//
-// LLVM Emitter
-
-#include "clang/Basic/Diagnostic.h"
-#include "clang/CodeGen/ModuleBuilder.h"
-#include "llvm/Module.h"
-#include <iostream>
-
-namespace {
- class LLVMEmitter : public ASTConsumer {
- Diagnostic &Diags;
- llvm::Module *M;
- ASTContext *Ctx;
- CodeGen::BuilderTy *Builder;
- public:
- LLVMEmitter(Diagnostic &diags) : Diags(diags) {}
- virtual void Initialize(ASTContext &Context, unsigned MainFileID) {
- Ctx = &Context;
- M = new llvm::Module("foo");
- Builder = CodeGen::Init(Context, *M);
- }
-
- virtual void HandleTopLevelDecl(Decl *D) {
- // If an error occurred, stop code generation, but continue parsing and
- // semantic analysis (to ensure all warnings and errors are emitted).
- if (Diags.hasErrorOccurred())
- return;
-
- if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) {
- CodeGen::CodeGenFunction(Builder, FD);
- } else if (FileVarDecl *FVD = dyn_cast<FileVarDecl>(D)) {
- CodeGen::CodeGenGlobalVar(Builder, FVD);
- } else {
- assert(isa<TypedefDecl>(D) && "Only expected typedefs here");
- // don't codegen for now, eventually pass down for debug info.
- //std::cerr << "Read top-level typedef decl: '" << D->getName() << "'\n";
- }
- }
-
- ~LLVMEmitter() {
- CodeGen::Terminate(Builder);
-
- // Print the generated code.
- M->print(std::cout);
- delete M;
- }
- };
-} // end anonymous namespace
-
-ASTConsumer *clang::CreateLLVMEmitter(Diagnostic &Diags) {
- return new LLVMEmitter(Diags);
-}
-
Removed: cfe/trunk/Driver/ASTStreamers.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/ASTStreamers.h?rev=42717&view=auto
==============================================================================
--- cfe/trunk/Driver/ASTStreamers.h (original)
+++ cfe/trunk/Driver/ASTStreamers.h (removed)
@@ -1,33 +0,0 @@
-//===--- ASTStreamers.h - ASTStreamer Drivers -------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file was developed by Bill Wendling and is distributed under the
-// University of Illinois Open Source License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// AST Streamers.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef DRIVER_ASTSTREAMERS_H_
-#define DRIVER_ASTSTREAMERS_H_
-
-namespace clang {
-
-class ASTConsumer;
-class Diagnostic;
-
-ASTConsumer *CreateASTPrinter();
-ASTConsumer *CreateASTDumper();
-ASTConsumer *CreateASTViewer();
-ASTConsumer *CreateCFGDumper(bool ViewGraphs = false);
-ASTConsumer *CreateLiveVarAnalyzer();
-ASTConsumer *CreateDeadStoreChecker(Diagnostic &Diags);
-ASTConsumer *CreateUnitValsChecker(Diagnostic &Diags);
-ASTConsumer *CreateLLVMEmitter(Diagnostic &Diags);
-
-} // end clang namespace
-
-#endif
Modified: cfe/trunk/Driver/DiagChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/DiagChecker.cpp?rev=42718&r1=42717&r2=42718&view=diff
==============================================================================
--- cfe/trunk/Driver/DiagChecker.cpp (original)
+++ cfe/trunk/Driver/DiagChecker.cpp Sun Oct 7 01:04:32 2007
@@ -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"
Modified: cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/clang.cpp?rev=42718&r1=42717&r2=42718&view=diff
==============================================================================
--- cfe/trunk/Driver/clang.cpp (original)
+++ cfe/trunk/Driver/clang.cpp Sun Oct 7 01:04:32 2007
@@ -23,7 +23,7 @@
//===----------------------------------------------------------------------===//
#include "clang.h"
-#include "ASTStreamers.h"
+#include "ASTConsumers.h"
#include "TextDiagnosticBuffer.h"
#include "TextDiagnosticPrinter.h"
#include "clang/Sema/ASTStreamer.h"
Modified: cfe/trunk/clang.xcodeproj/project.pbxproj
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/clang.xcodeproj/project.pbxproj?rev=42718&r1=42717&r2=42718&view=diff
==============================================================================
--- cfe/trunk/clang.xcodeproj/project.pbxproj (original)
+++ cfe/trunk/clang.xcodeproj/project.pbxproj Sun Oct 7 01:04:32 2007
@@ -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 = "<group>"; };
DE34621C0AFEB19B00DBC861 /* StmtPrinter.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = StmtPrinter.cpp; path = AST/StmtPrinter.cpp; sourceTree = "<group>"; };
DE3464210B03040900DBC861 /* Type.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Type.h; path = clang/AST/Type.h; sourceTree = "<group>"; };
+ DE3985780CB8ADC800223765 /* ASTConsumers.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ASTConsumers.h; path = Driver/ASTConsumers.h; sourceTree = "<group>"; };
+ DE39857A0CB8ADCB00223765 /* ASTConsumers.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ASTConsumers.cpp; path = Driver/ASTConsumers.cpp; sourceTree = "<group>"; };
DE4264FB0C113592005A861D /* CGDecl.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = CGDecl.cpp; path = CodeGen/CGDecl.cpp; sourceTree = "<group>"; };
DE46BF270AE0A82D00CC047C /* TargetInfo.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = TargetInfo.h; sourceTree = "<group>"; };
DE4772F90C10EAE5002239E8 /* CGStmt.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = CGStmt.cpp; path = CodeGen/CGStmt.cpp; sourceTree = "<group>"; };
@@ -344,8 +346,6 @@
DEEBC3BB0C2363BC00A9FE82 /* CodeGenTypes.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = CodeGenTypes.cpp; path = CodeGen/CodeGenTypes.cpp; sourceTree = "<group>"; };
DEEBCBE20C33702C00A9FE82 /* TextDiagnosticBuffer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = TextDiagnosticBuffer.h; path = Driver/TextDiagnosticBuffer.h; sourceTree = "<group>"; };
DEEBCBE40C33703100A9FE82 /* TextDiagnosticBuffer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = TextDiagnosticBuffer.cpp; path = Driver/TextDiagnosticBuffer.cpp; sourceTree = "<group>"; };
- DEF2E9310C5FB9FB000C4259 /* ASTStreamers.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ASTStreamers.h; path = Driver/ASTStreamers.h; sourceTree = "<group>"; };
- DEF2E9330C5FBA02000C4259 /* ASTStreamers.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ASTStreamers.cpp; path = Driver/ASTStreamers.cpp; sourceTree = "<group>"; };
DEF2E95E0C5FBD74000C4259 /* InternalsManual.html */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.html; name = InternalsManual.html; path = docs/InternalsManual.html; sourceTree = "<group>"; };
DEF2EDA60C6A4252000C4259 /* StmtDumper.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = StmtDumper.cpp; path = AST/StmtDumper.cpp; sourceTree = "<group>"; };
DEF2EFF20C6CDD74000C4259 /* CGExprAgg.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = CGExprAgg.cpp; path = CodeGen/CGExprAgg.cpp; sourceTree = "<group>"; };
@@ -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;
};
More information about the cfe-commits
mailing list