hubert.reinterpretcast added inline comments.

================
Comment at: clang/lib/Driver/ToolChains/Clang.cpp:4669
           << A->getSpelling() << RawTriple.str();
-    if (!Args.hasArg(options::OPT_maltivec))
-      D.Diag(diag::err_aix_altivec);
+    if (Args.hasArg(options::OPT_mabi_EQ_vec_default))
+      D.Diag(diag::err_aix_default_altivec_abi);
----------------
Only generate the message when the option is active.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94986/new/

https://reviews.llvm.org/D94986

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to