Issue |
140673
|
Summary |
[clang-format] limiting search scope for .clang-format-ignore
|
Labels |
clang-format
|
Assignees |
|
Reporter |
fancl20
|
Currently `.clang-format-ignore` is searched in all parent directories, which creates a sometime unintuitive behavior: clang-format may be affected by a `.clang-format-ignore` config outside the project.
Should the search scope be limited by clang-format config or .git directory? It's difficult to notice what happened in these cases since `.clang-format-ignore` can be in any parent directory e.g. under home dir and the formatter get silently ignored.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs