================ @@ -109,10 +109,32 @@ Note in the LLVM alias, the default value is `false`. auto bar = foo(); -If RespectOpaqueTypes is set to `false`, it will be transformed into: +If IgnoreAliasing is set to `true`, it will be transformed into: .. code-block:: c++ auto *bar = foo(); Otherwise no changes will occur. + +Limitations +----------- + +When IgnoreAliasing is set to `false`, there are cases where Clang has not preserved the sugar +and the canonical type will be used so false positives may occur. +For example: +.. code-block:: c++ ---------------- EugeneZelenko wrote:
```suggestion For example: .. code-block:: c++ ``` https://github.com/llvm/llvm-project/pull/147060 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits