================ @@ -27,3 +27,16 @@ affect the semantics. .. code-block:: c++ int a = (1 * 2) + 3; // no warning + +Options +------- + +.. option:: AllowedDecls + + A semicolon-separated list of names of declarations included variables and + functions to ignore when the parenthese around it. + The default is an `std::max;std::min`. + + Some std library functions may have the same name as widely used function-like + macro. For example, ``std::max`` and ``max`` macro. A work around to distinguish ---------------- vbvictor wrote:
```suggestion macro. For example, ``std::max`` and ``max`` macro. A workaround to distinguish ``` https://github.com/llvm/llvm-project/pull/164827 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
