================
@@ -40,3 +40,9 @@ Options
   Some STL library functions may have the same name as widely used 
function-like
   macro. For example, ``std::max`` and ``max`` macro. A workaround to 
distinguish
   them is adding parentheses around functions to prevent function-like macro.
+
+The check diagnoses redundant parentheses in declarations and keeps earlier 
changes as it is
+.. code-block:: c++
+
+  int (x);             // becomes int x;
+  void f(int (arg));   // becomes void f(int arg);
----------------
zwuis wrote:

Add a new line at EOF.

https://github.com/llvm/llvm-project/pull/196739
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to