diff options
author | Carlos Galvez <carlosgalvezp@gmail.com> | 2025-09-05 20:38:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-05 20:38:59 +0200 |
commit | 97086d6fdacf67327a65317826955bab377aafc0 (patch) | |
tree | 17f1b609e3d6e2b44a06aec37fe86306999e556c /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | 1acd429544d58f07208c82b5ca4923c5093ec52d (diff) | |
download | llvm-97086d6fdacf67327a65317826955bab377aafc0.zip llvm-97086d6fdacf67327a65317826955bab377aafc0.tar.gz llvm-97086d6fdacf67327a65317826955bab377aafc0.tar.bz2 |
[clang-tidy] Do not crash when an empty directory is used in the comp… (#156873)
…ilation database
Currently a hard crash encourages people to report a bug upstream, but
this is not really a bug. Instead, print an error and use a reasonable
default (the current working directory).
Fixes #57264
Co-authored-by: Carlos Gálvez <carlos.galvez@zenseact.com>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions