diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:09:29 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-06 18:09:29 +0000 |
commit | 1002d5f33fcb0b63243215fcd1ba884de9f63b3a (patch) | |
tree | 08f42ca952a138901bb4251ce93e6a1bb1e48681 /llvm/utils/TableGen/TableGen.cpp | |
parent | 09367d68ff19ffb2b54f1fc712134e5d8f8100c1 (diff) | |
download | bcm5719-llvm-1002d5f33fcb0b63243215fcd1ba884de9f63b3a.tar.gz bcm5719-llvm-1002d5f33fcb0b63243215fcd1ba884de9f63b3a.zip |
Rename LLVMCCConfigurationEmitter to LLVMCConfigurationEmitter
llvm-svn: 50748
Diffstat (limited to 'llvm/utils/TableGen/TableGen.cpp')
-rw-r--r-- | llvm/utils/TableGen/TableGen.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/utils/TableGen/TableGen.cpp b/llvm/utils/TableGen/TableGen.cpp index cc996c58466..1bc2790f093 100644 --- a/llvm/utils/TableGen/TableGen.cpp +++ b/llvm/utils/TableGen/TableGen.cpp @@ -31,7 +31,7 @@ #include "DAGISelEmitter.h" #include "SubtargetEmitter.h" #include "IntrinsicEmitter.h" -#include "LLVMCCConfigurationEmitter.h" +#include "LLVMCConfigurationEmitter.h" #include <algorithm> #include <cstdio> #include <fstream> @@ -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<std::string> &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(); } |