[clang] [clang-format] Support of TableGen value annotations. (PR #80299)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 5 12:22:07 PST 2024
================
@@ -256,6 +256,18 @@ class AnnotatingParser {
}
}
}
+ if (Style.isTableGen()) {
+ if (CurrentToken->isOneOf(tok::comma, tok::equal)) {
+ // They appears as a separator. Unless it is not in class definition.
----------------
HazardyKnusperkeks wrote:
```suggestion
// They appear as a separator. Unless it is not in class definition.
```
https://github.com/llvm/llvm-project/pull/80299
More information about the cfe-commits
mailing list