aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Interpreter/Interpreter.cpp
diff options
context:
space:
mode:
authorMelanie Blower <melanie.blower@intel.com>2021-06-28 12:41:24 -0400
committerMelanie Blower <melanie.blower@intel.com>2021-06-28 12:42:59 -0400
commit8815ef823c803e98f328068d1abde255296de9c3 (patch)
treef1ad0d9c0962ed0648b8ebbf57ab1b59017b383a /clang/lib/Interpreter/Interpreter.cpp
parent3dee1e8a848d56178fc6013c343c1b144efb1425 (diff)
downloadllvm-8815ef823c803e98f328068d1abde255296de9c3.zip
llvm-8815ef823c803e98f328068d1abde255296de9c3.tar.gz
llvm-8815ef823c803e98f328068d1abde255296de9c3.tar.bz2
Revert "[clang][PATCH][nfc] Refactor TargetInfo::adjust to pass DiagnosticsEngine to allow diagnostics on target-unsupported options"
This reverts commit 2c02b0c3f45414ac6c64583e006a26113c028304. buildbot fails
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);
}