diff options
author | David Turner <turner_david_k@cat.com> | 2023-02-05 13:19:11 -0800 |
---|---|---|
committer | Owen Pan <owenpiano@gmail.com> | 2023-02-05 13:33:33 -0800 |
commit | 35f2ac1763adcbd5ee9b49a98de24c0c420c323e (patch) | |
tree | 7a73c46d77f2478bc151f347e96a1d623bc939c8 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | c56846a8928f8708f56c0eb36dcd6345e312faa0 (diff) | |
download | llvm-35f2ac1763adcbd5ee9b49a98de24c0c420c323e.zip llvm-35f2ac1763adcbd5ee9b49a98de24c0c420c323e.tar.gz llvm-35f2ac1763adcbd5ee9b49a98de24c0c420c323e.tar.bz2 |
[clang-format] Fix inconsistent annotation of operator&
Token annotator incorrectly annotates operator& as a reference type in
situations like Boost serialization archives:
https://www.boost.org/doc/libs/1_81_0/libs/serialization/doc/tutorial.html
Add annotation rules for standalone and chained operator& instances while
preserving behavior for reference declarations at class scope. Add tests to
validate annotation and formatting behavior.
Differential Revision: https://reviews.llvm.org/D141959
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions