[all-commits] [llvm/llvm-project] 1a0a03: Add documentation for -Wwrite-strings
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Thu Apr 20 13:14:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1a0a0305c03dc6cf42d042f39199ca37c16f6dda
https://github.com/llvm/llvm-project/commit/1a0a0305c03dc6cf42d042f39199ca37c16f6dda
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2023-04-20 (Thu, 20 Apr 2023)
Changed paths:
M clang/include/clang/Basic/Diagnostic.td
M clang/include/clang/Basic/DiagnosticDocs.td
M clang/include/clang/Basic/DiagnosticGroups.td
Log Message:
-----------
Add documentation for -Wwrite-strings
This is the first instance where we've really needed to add
documentation for a diagnostic group, but -Wwrite-strings really
deserves it.
This warning option changes the semantic behavior of code, so enabling
it can cause code to break (and disabling it can too). That's worth
calling out loudly in our documentation.
More information about the All-commits
mailing list