calumr wrote:
> How would a user specify to use CLI?
getFormattingLangOpts seems to turn on MicrosoftExt and some other options by
default, so I just copied that.
https://github.com/llvm/llvm-project/pull/112689
___
cfe-commits mailing list
cfe-comm
https://github.com/calumr created
https://github.com/llvm/llvm-project/pull/112689
* This only looks for ^ as a pointer/reference token, which is the main issue
when trying to format C++/CLI.
Obviously there's more to C++/CLI than this minor change, but it's extremely
useful to be able to cla
calumr wrote:
#27126 was the issue. I've added a comment there with a clearer example of what
clang-format is currently doing to C++/CLI code.
I appreciate this PR is not complete & I need to add tests.
https://github.com/llvm/llvm-project/pull/112689