[clang] [clang-format] Fix working -assume-filename with .clang-format-ignore (PR #113100)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 22 10:35:39 PDT 2024


kakkoko wrote:

> I get what you are doing here, simply passing the input to the output even if we've said ignore the file.. Its not that I don't think this is ok I'm just wondering why the fix is here and not in the VS Code extension.

Sorry. This was my mistake. I had misconfigured some settings. The VSCode extension worked perfectly even when clang-format outputs nothing.

Therefore, I replaced the commit with a very simple one.

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


More information about the cfe-commits mailing list