[PATCH] D152396: [clang][doc] Rescue some deleted bits of the command-line reference.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 7 13:49:40 PDT 2023


efriedma created this revision.
efriedma added reviewers: serge-sans-paille, aaron.ballman.
Herald added a subscriber: dschuff.
Herald added a project: All.
efriedma requested review of this revision.
Herald added a subscriber: aheejin.
Herald added a project: clang.

Back when the command-line reference rst was in-tree, a lot of people missed the "DO NOT EDIT" comment at the top, and then changes were effectively reverted when the file was regenerated. I went through the changes, and rescued the interesting bits of documentation that were destroyed.  (Noticed when I was trying to find our documentation for -fno-delete-null-pointer-checks, but it was missing.)

Additional notes:

- I'm intentionally leaving out D73459 <https://reviews.llvm.org/D73459> because I'm not sure how to port the changes to -march.
- Some options have help text in Options.td, but that text doesn't make it into the reference. Incomplete list of such options: -fc++-static-destructors, -frtti-data, -fplt, -fstrict-return, -funique-section-names, -fuse-init-array. I think there's something specifically weird with boolean options, but not completely sure what's happening.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152396

Files:
  clang/include/clang/Driver/Options.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152396.529422.patch
Type: text/x-patch
Size: 16398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230607/5ffba4f1/attachment-0001.bin>


More information about the cfe-commits mailing list