forked from OSchip/llvm-project
Track changes from clang r212387, r212388
llvm-svn: 212390
This commit is contained in:
parent
0f89fac7a5
commit
06164dd854
|
@ -215,7 +215,7 @@ ModuleMapChecker::ModuleMapChecker(StringRef ModuleMapPath,
|
||||||
Diagnostics(
|
Diagnostics(
|
||||||
new DiagnosticsEngine(DiagIDs, DiagnosticOpts.get(), &DC, false)),
|
new DiagnosticsEngine(DiagIDs, DiagnosticOpts.get(), &DC, false)),
|
||||||
TargetOpts(new ModuleMapTargetOptions()),
|
TargetOpts(new ModuleMapTargetOptions()),
|
||||||
Target(TargetInfo::CreateTargetInfo(*Diagnostics, TargetOpts.get())),
|
Target(TargetInfo::CreateTargetInfo(*Diagnostics, TargetOpts)),
|
||||||
FileMgr(new FileManager(FileSystemOpts)),
|
FileMgr(new FileManager(FileSystemOpts)),
|
||||||
SourceMgr(new SourceManager(*Diagnostics, *FileMgr, false)),
|
SourceMgr(new SourceManager(*Diagnostics, *FileMgr, false)),
|
||||||
HeaderSearchOpts(new HeaderSearchOptions()),
|
HeaderSearchOpts(new HeaderSearchOptions()),
|
||||||
|
|
|
@ -59,7 +59,7 @@ class ModuleMapChecker {
|
||||||
// Supporting objects.
|
// Supporting objects.
|
||||||
|
|
||||||
/// Options controlling the language variant.
|
/// Options controlling the language variant.
|
||||||
llvm::IntrusiveRefCntPtr<clang::LangOptions> LangOpts;
|
std::shared_ptr<clang::LangOptions> LangOpts;
|
||||||
/// Diagnostic IDs.
|
/// Diagnostic IDs.
|
||||||
const llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> DiagIDs;
|
const llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> DiagIDs;
|
||||||
/// Options controlling the diagnostic engine.
|
/// Options controlling the diagnostic engine.
|
||||||
|
@ -69,7 +69,7 @@ class ModuleMapChecker {
|
||||||
/// Diagnostic engine.
|
/// Diagnostic engine.
|
||||||
llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> Diagnostics;
|
llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> Diagnostics;
|
||||||
/// Options controlling the target.
|
/// Options controlling the target.
|
||||||
llvm::IntrusiveRefCntPtr<clang::TargetOptions> TargetOpts;
|
std::shared_ptr<clang::TargetOptions> TargetOpts;
|
||||||
/// Target information.
|
/// Target information.
|
||||||
llvm::IntrusiveRefCntPtr<clang::TargetInfo> Target;
|
llvm::IntrusiveRefCntPtr<clang::TargetInfo> Target;
|
||||||
/// Options controlling the file system manager.
|
/// Options controlling the file system manager.
|
||||||
|
|
Loading…
Reference in New Issue