[clang] [clang-format] Add AllowBreakBeforeQtProperty option (PR #159909)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 21 13:16:29 PDT 2025
================
@@ -33,6 +33,18 @@ const char *getTokenTypeName(TokenType Type) {
return nullptr;
}
+static SmallVector<StringRef> QtPropertyKeywords = {
----------------
HazardyKnusperkeks wrote:
```suggestion
static constexpr std::array<StringRef> QtPropertyKeywords = {
```
This can be constructed at compile time.
https://github.com/llvm/llvm-project/pull/159909
More information about the cfe-commits
mailing list