[clang] [clang-format] Support of TableGen tokens with unary operator like form, bang operators and numeric literals. (PR #78996)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 12:00:49 PST 2024


https://github.com/mydeveloperday commented:

I don't use TableGen myself so I can't really say if this is quite the correct thing to do, I feel it needs a TableGenTest.cpp example of real TableGen code for every example you give here. Then we should try and cover the other use cases. That we might be breaking

I have slight concern of merging `+` and a `number` because of `X + 1` type logic that might exist. but Like I said I don't know enough about TableGen syntax

https://github.com/llvm/llvm-project/pull/78996


More information about the cfe-commits mailing list