We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d11b56a commit 14e5929Copy full SHA for 14e5929
clang/lib/Driver/Driver.cpp
@@ -733,9 +733,10 @@ static llvm::Triple computeTargetTriple(const Driver &D,
733
Target.setEnvironment(llvm::Triple::GNUX32);
734
} else if (A->getOption().matches(options::OPT_m32) ||
735
A->getOption().matches(options::OPT_maix32)) {
736
- if (D.IsFlangMode() && !Target.isOSAIX())
+ if (D.IsFlangMode() && !Target.isOSAIX()) {
737
D.Diag(diag::err_drv_unsupported_opt_for_target)
738
<< A->getAsString(Args) << Target.str();
739
+ }
740
else {
741
AT = Target.get32BitArchVariant().getArch();
742
if (Target.getEnvironment() == llvm::Triple::GNUX32)
0 commit comments