diff options
author | Owen Pan <owenpiano@gmail.com> | 2023-12-04 13:49:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 13:49:23 -0800 |
commit | 78940a4e1f7f484d8a2dd0c646e288d6a5bf2f81 (patch) | |
tree | 1640cf8652fe9e54e03335cfe729d68e077c6f02 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 54c30953b9374e3bcc1c79b53a231e4b53ceafed (diff) | |
download | llvm-78940a4e1f7f484d8a2dd0c646e288d6a5bf2f81.zip llvm-78940a4e1f7f484d8a2dd0c646e288d6a5bf2f81.tar.gz llvm-78940a4e1f7f484d8a2dd0c646e288d6a5bf2f81.tar.bz2 |
[clang-format] Fix a bug in `git-clang-format --binary` (#74293)
This is a rework of #74176, which erroneously changed the default
clang-format filename (`clang-format`, `clang-format.exe`, etc.) to an
absolute pathname. Instead, we should do that only if the name is a
pathname, e.g. `./clang-format`,
`llvm-project/build/bin/clang-format.exe`, etc. See also
https://github.com/llvm/llvm-project/pull/74176#issuecomment-1837921351.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions