mstorsjo added inline comments.

================
Comment at: clang/include/clang/Driver/Options.td:1477
+          "automatic dllimport, and enable support for it in the linker. "
+          "Enabled by default.">>;
+} // let Flags = [TargetSpecific]
----------------
I see that most similar `BoolFOption`s for features that are `DefaultTrue` only 
document the `NegFlag`, which makes only the negative flag show up in `clang 
--help`. This is probably what one most commonly wants - but I see that the 
option ends up undocumented in `ClangCommandLineReference.rst` unless it has 
documentation for the `PosFlag`. So therefore I wrote documentation for both 
options here, and in a form where the `PosFlag` docs mostly is intended for the 
generated reference docs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D61670

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

Reply via email to