[clang] [Clang] Repair the function "rParenEndsCast" to make incorrect judgments in template variable cases (PR #120904)
Owen Pan via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 24 21:14:25 PST 2024
================
@@ -38,6 +40,10 @@ static bool mustBreakAfterAttributes(const FormatToken &Tok,
namespace {
+// TODO: Add new Type modifiers
+llvm::SmallVector<llvm::StringRef> castIdentifiers{"__type_identity_t",
+ "remove_reference_t"};
----------------
owenca wrote:
What about `std::vector`, `std::whatever`, `foo::bar`, etc?
https://github.com/llvm/llvm-project/pull/120904
More information about the cfe-commits
mailing list