[clang] [clang-format] Harden annotation of operator keywords (PR #196768)

via cfe-commits cfe-commits at lists.llvm.org
Sun May 10 12:50:49 PDT 2026


================
@@ -1704,7 +1702,7 @@ class AnnotatingParser {
             Previous->isPointerOrReference() ||
----------------
owenca wrote:

```suggestion
            (!Previous->isTypeFinalized() &&
             Previous->isPointerOrReference()) ||
```
and keep the `setType` below.

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


More information about the cfe-commits mailing list