mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
Rename LLVMCCConfigurationEmitter to LLVMCConfigurationEmitter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be9d9a153f
commit
ecbdcf2ae0
@ -11,7 +11,7 @@
|
|||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "LLVMCCConfigurationEmitter.h"
|
#include "LLVMCConfigurationEmitter.h"
|
||||||
#include "Record.h"
|
#include "Record.h"
|
||||||
|
|
||||||
#include "llvm/ADT/IntrusiveRefCntPtr.h"
|
#include "llvm/ADT/IntrusiveRefCntPtr.h"
|
@ -31,7 +31,7 @@
|
|||||||
#include "DAGISelEmitter.h"
|
#include "DAGISelEmitter.h"
|
||||||
#include "SubtargetEmitter.h"
|
#include "SubtargetEmitter.h"
|
||||||
#include "IntrinsicEmitter.h"
|
#include "IntrinsicEmitter.h"
|
||||||
#include "LLVMCCConfigurationEmitter.h"
|
#include "LLVMCConfigurationEmitter.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
@ -104,7 +104,7 @@ RecordKeeper llvm::Records;
|
|||||||
|
|
||||||
/// ParseFile - this function begins the parsing of the specified tablegen
|
/// ParseFile - this function begins the parsing of the specified tablegen
|
||||||
/// file.
|
/// file.
|
||||||
static bool ParseFile(const std::string &Filename,
|
static bool ParseFile(const std::string &Filename,
|
||||||
const std::vector<std::string> &IncludeDirs) {
|
const std::vector<std::string> &IncludeDirs) {
|
||||||
std::string ErrorStr;
|
std::string ErrorStr;
|
||||||
MemoryBuffer *F = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), &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";
|
cerr << "Could not open input file '" + Filename + "': " << ErrorStr <<"\n";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
TGParser Parser(F);
|
TGParser Parser(F);
|
||||||
|
|
||||||
// Record the location of the include directory so that the lexer can find
|
// Record the location of the include directory so that the lexer can find
|
||||||
// it later.
|
// it later.
|
||||||
Parser.setIncludeDirs(IncludeDirs);
|
Parser.setIncludeDirs(IncludeDirs);
|
||||||
|
|
||||||
return Parser.ParseFile();
|
return Parser.ParseFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user