Closed
Description
The filename given by the -assume-filename
option is used to search for .clang-format
files, etc., but is not used to match the contents of the .clang-format-ignore
file.
For example, the C/C++ extension of VSCode uses the -assume-filename
option to provide a filename, and the content to be formatted is provided from standard input. Therefore, the .clang-format-ignore
file will not work for that extension.