| Issue |
109912
|
| Summary |
Add `TemplateNames` option to clang-format
|
| Labels |
clang-format
|
| Assignees |
owenca
|
| Reporter |
owenca
|
`TemplateNames`:
A vector of non-keyword identifiers that should be interpreted as template names.
A `<` after a template name is annotated as a template opener instead of a binary operator.
For example, with the cofig below:
```
TemplateNames: [Foo]
```
The C++ code `return Foo < A || B > (C ^ D);` will be formatted as `return Foo<A || B>(C ^ D);`.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs