зеркало из https://github.com/microsoft/clang-1.git
Update for changes in LLVM. Hopefully this is the last one for a while.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74657 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
cca9e9674a
Коммит
8f1ca78009
|
@ -36,7 +36,7 @@ namespace clang {
|
|||
CodeGenerator *CreateLLVMCodeGen(Diagnostic &Diags,
|
||||
const std::string &ModuleName,
|
||||
const CompileOptions &CO,
|
||||
const llvm::LLVMContext& C);
|
||||
llvm::LLVMContext& C);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -81,7 +81,7 @@ ASTConsumer *CreateBackendConsumer(BackendAction Action,
|
|||
const CompileOptions &CompileOpts,
|
||||
const std::string &ModuleID,
|
||||
llvm::raw_ostream *OS,
|
||||
const llvm::LLVMContext& C);
|
||||
llvm::LLVMContext& C);
|
||||
|
||||
// HTML printer: uses the rewriter to convert source code to HTML with
|
||||
// syntax highlighting suitable for viewing in a web-browser.
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace {
|
|||
llvm::OwningPtr<CodeGen::CodeGenModule> Builder;
|
||||
public:
|
||||
CodeGeneratorImpl(Diagnostic &diags, const std::string& ModuleName,
|
||||
const CompileOptions &CO, const llvm::LLVMContext& C)
|
||||
const CompileOptions &CO, llvm::LLVMContext& C)
|
||||
: Diags(diags), CompileOpts(CO), M(new llvm::Module(ModuleName, C)) {}
|
||||
|
||||
virtual ~CodeGeneratorImpl() {}
|
||||
|
@ -97,6 +97,6 @@ namespace {
|
|||
CodeGenerator *clang::CreateLLVMCodeGen(Diagnostic &Diags,
|
||||
const std::string& ModuleName,
|
||||
const CompileOptions &CO,
|
||||
const llvm::LLVMContext& C) {
|
||||
llvm::LLVMContext& C) {
|
||||
return new CodeGeneratorImpl(Diags, ModuleName, CO, C);
|
||||
}
|
||||
|
|
|
@ -76,7 +76,7 @@ namespace {
|
|||
BackendConsumer(BackendAction action, Diagnostic &Diags,
|
||||
const LangOptions &langopts, const CompileOptions &compopts,
|
||||
const std::string &infile, llvm::raw_ostream* OS,
|
||||
const LLVMContext& C) :
|
||||
LLVMContext& C) :
|
||||
Action(action),
|
||||
CompileOpts(compopts),
|
||||
AsmOutStream(OS),
|
||||
|
@ -361,7 +361,7 @@ ASTConsumer *clang::CreateBackendConsumer(BackendAction Action,
|
|||
const CompileOptions &CompileOpts,
|
||||
const std::string& InFile,
|
||||
llvm::raw_ostream* OS,
|
||||
const LLVMContext& C) {
|
||||
LLVMContext& C) {
|
||||
return new BackendConsumer(Action, Diags, LangOpts, CompileOpts,
|
||||
InFile, OS, C);
|
||||
}
|
||||
|
|
|
@ -1748,7 +1748,7 @@ static llvm::raw_ostream* ComputeOutFile(const std::string& InFile,
|
|||
static void ProcessInputFile(Preprocessor &PP, PreprocessorFactory &PPF,
|
||||
const std::string &InFile, ProgActions PA,
|
||||
const llvm::StringMap<bool> &Features,
|
||||
const llvm::LLVMContext& Context) {
|
||||
llvm::LLVMContext& Context) {
|
||||
llvm::OwningPtr<llvm::raw_ostream> OS;
|
||||
llvm::OwningPtr<ASTConsumer> Consumer;
|
||||
bool ClearSourceMgr = false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче