[clang-tools-extra] [clang-tidy][doc][NFC] extract common global options in doc (PR #119842)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 13 07:09:07 PST 2024


================
@@ -0,0 +1,21 @@
+==============
+Global Options
+==============
+
+Some options apply to multiple checks. This page lists all the available
+globally options.
+
+.. option:: IncludeStyle
+
+   A string specifying which include-style is used, `llvm` or `google`. Default
+   is `llvm`.
+
+.. option:: IgnoreMacros
----------------
carlosgalvezp wrote:

I think this one should  _not_ be global. The same is done for clang warnings. Sometimes it may make sense to ignore macros, sometimes not, depending on the check.

https://github.com/llvm/llvm-project/pull/119842


More information about the cfe-commits mailing list