[clang] [clang-format] Fix a bug in annotating PointerOrReference (PR #110945)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fixes #110879. --- Full diff: https://github.com/llvm/llvm-project/pull/110945.diff 2 Files Affected: - (modified) clang/lib/Format/TokenAnnotator.cpp (+1-1) - (modified) clang/unittests/Format/TokenAnn

[clang] [clang-format] Fix a bug in annotating PointerOrReference (PR #110945)

2024-10-02 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/110945 Fixes #110879. >From ab6f3f4950a5ca1e1297437940730b43746c7f6a Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Wed, 2 Oct 2024 19:30:30 -0700 Subject: [PATCH] [clang-format] Fix a bug in annotating PointerOrReferen