[flang-commits] [clang] [flang] [flang] Add -f[no-]vectorize flags (PR #119718)
David Truby via flang-commits
flang-commits at lists.llvm.org
Tue Feb 18 05:14:39 PST 2025
================
@@ -3986,11 +3986,15 @@ defm assumptions : BoolFOption<"assumptions",
"Disable codegen and compile-time checks for C++23's [[assume]] attribute">,
PosFlag<SetTrue>>;
+
+let Visibility = [ClangOption, FlangOption] in {
----------------
DavidTruby wrote:
The docs [here](https://clang.llvm.org/docs/InternalsManual.html#adding-new-command-line-option) say that the default visibility is _only_ `ClangOption`, so this should only have the effect of adding FlangOption to that. I was basing this off of that documentation.
You'd hope that if this did change visibility for cl-mode and dxc-mode, and someone was relying on it, it would break a test somewhere :sweat_smile:
https://github.com/llvm/llvm-project/pull/119718
More information about the flang-commits
mailing list