From ecbdcf2ae056404cde449783a1ec8ba798c36562 Mon Sep 17 00:00:00 2001 From: Mikhail Glushenkov Date: Tue, 6 May 2008 18:09:29 +0000 Subject: [PATCH] Rename LLVMCCConfigurationEmitter to LLVMCConfigurationEmitter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50748 91177308-0d34-0410-b5e6-96231b3b80d8 --- ...rationEmitter.cpp => LLVMCConfigurationEmitter.cpp} | 2 +- ...figurationEmitter.h => LLVMCConfigurationEmitter.h} | 0 utils/TableGen/TableGen.cpp | 10 +++++----- 3 files changed, 6 insertions(+), 6 deletions(-) rename utils/TableGen/{LLVMCCConfigurationEmitter.cpp => LLVMCConfigurationEmitter.cpp} (99%) rename utils/TableGen/{LLVMCCConfigurationEmitter.h => LLVMCConfigurationEmitter.h} (100%) diff --git a/utils/TableGen/LLVMCCConfigurationEmitter.cpp b/utils/TableGen/LLVMCConfigurationEmitter.cpp similarity index 99% rename from utils/TableGen/LLVMCCConfigurationEmitter.cpp rename to utils/TableGen/LLVMCConfigurationEmitter.cpp index e79ff31a431..73390af9d64 100644 --- a/utils/TableGen/LLVMCCConfigurationEmitter.cpp +++ b/utils/TableGen/LLVMCConfigurationEmitter.cpp @@ -11,7 +11,7 @@ // //===----------------------------------------------------------------------===// -#include "LLVMCCConfigurationEmitter.h" +#include "LLVMCConfigurationEmitter.h" #include "Record.h" #include "llvm/ADT/IntrusiveRefCntPtr.h" diff --git a/utils/TableGen/LLVMCCConfigurationEmitter.h b/utils/TableGen/LLVMCConfigurationEmitter.h similarity index 100% rename from utils/TableGen/LLVMCCConfigurationEmitter.h rename to utils/TableGen/LLVMCConfigurationEmitter.h diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp index cc996c58466..1bc2790f093 100644 --- a/utils/TableGen/TableGen.cpp +++ b/utils/TableGen/TableGen.cpp @@ -31,7 +31,7 @@ #include "DAGISelEmitter.h" #include "SubtargetEmitter.h" #include "IntrinsicEmitter.h" -#include "LLVMCCConfigurationEmitter.h" +#include "LLVMCConfigurationEmitter.h" #include #include #include @@ -104,7 +104,7 @@ RecordKeeper llvm::Records; /// ParseFile - this function begins the parsing of the specified tablegen /// file. -static bool ParseFile(const std::string &Filename, +static bool ParseFile(const std::string &Filename, const std::vector &IncludeDirs) { std::string ErrorStr; MemoryBuffer *F = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), &ErrorStr); @@ -112,13 +112,13 @@ static bool ParseFile(const std::string &Filename, cerr << "Could not open input file '" + Filename + "': " << ErrorStr <<"\n"; return true; } - + TGParser Parser(F); - + // Record the location of the include directory so that the lexer can find // it later. Parser.setIncludeDirs(IncludeDirs); - + return Parser.ParseFile(); } -- 2.34.1