================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to