[all-commits] [llvm/llvm-project] c261f7: [clang-format] Refactor determineStarAmpUsage NFC
eywdck2l via All-commits
all-commits at lists.llvm.org
Sun Apr 24 15:32:34 PDT 2022
Author: sstwcw <f0gukp2nk at protonmail.com>
Date: 2022-04-24 (Sun, 24 Apr 2022)
[clang-format] Refactor determineStarAmpUsage NFC
There was some duplicate code in determineStarAmpUsage and
Now a `-` or `+` following `;`, `sizeof`, `co_await`, or `delete` is
regarded as a unary operator.
Now a `*` or `&` following `case` is also a unary operator.
Reviewed By: curdeius, MyDeveloperDay, HazardyKnusperkeks
Differential Revision: https://reviews.llvm.org/D121754
More information about the All-commits