Issue 177036
Summary [clang-format] Allow spaces around tablegen paste operator
Labels clang-format, tablegen
Assignees
Reporter lenary
    https://github.com/llvm/llvm-project/blob/d3779111b5316bb3a36ff5b0a04311d1128d65c0/clang/lib/Format/TokenAnnotator.cpp#L5483

This code ensures there is never spaces around the `#` string paste operator.

In the RISC-V backend, most of our hand-written TableGen prefers spaces around this operator. it would be good to allow this to be configurable, or to change the default.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to