aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Interpreter/Interpreter.cpp
diff options
context:
space:
mode:
authorMelanie Blower <melanie.blower@intel.com>2021-06-28 15:47:03 -0400
committerMelanie Blower <melanie.blower@intel.com>2021-06-28 15:47:21 -0400
commit1d85d0879a75b9556b10f55739437af8233c0b64 (patch)
tree2e15d6de92ddd8157c8660925c4240155901e3fe /clang/lib/Interpreter/Interpreter.cpp
parent333c0acb9bb36bd89ab75abba3d368da67f7370c (diff)
downloadllvm-1d85d0879a75b9556b10f55739437af8233c0b64.zip
llvm-1d85d0879a75b9556b10f55739437af8233c0b64.tar.gz
llvm-1d85d0879a75b9556b10f55739437af8233c0b64.tar.bz2
Revert "[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options"
This reverts commit 2dbe1c675fe94eeb7973dcc25b049d25f4ca4fa0. More buildbot failures
Diffstat (limited to 'clang/lib/Interpreter/Interpreter.cpp')
-rw-r--r--clang/lib/Interpreter/Interpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Interpreter/Interpreter.cpp b/clang/lib/Interpreter/Interpreter.cpp
index 768847f..711a5e9 100644
--- a/clang/lib/Interpreter/Interpreter.cpp
+++ b/clang/lib/Interpreter/Interpreter.cpp
@@ -110,7 +110,7 @@ CreateCI(const llvm::opt::ArgStringList &Argv) {
"Initialization failed. "
"Target is missing");
- Clang->getTarget().adjust(Clang->getDiagnostics(), Clang->getLangOpts());
+ Clang->getTarget().adjust(Clang->getLangOpts());
return std::move(Clang);
}