aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2025-06-03 19:44:55 +0300
committerGitHub <noreply@github.com>2025-06-03 19:44:55 +0300
commit67fa6ea7d494d31e08fc7e32ddcb383184df8db8 (patch)
treef2674e902b39f493cdca30d791744d01f6097a80 /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp
parent04b63ac1ab23d875b2ff4dc3da72d20a48d9d29d (diff)
downloadllvm-67fa6ea7d494d31e08fc7e32ddcb383184df8db8.zip
llvm-67fa6ea7d494d31e08fc7e32ddcb383184df8db8.tar.gz
llvm-67fa6ea7d494d31e08fc7e32ddcb383184df8db8.tar.bz2
[clang-doc] [test] Generalize error message patterns (#142373)
On Windows, we hit the "no such file or directory" case, not the "Not a directory" one. MS STL produces the "no such file or directory" message for `std::error_code(ENOENT, std::generic_category()).message()`, while libc++ and libstdc++ produce a similar message with a capital N. Adjust the error message regex to match for either of them. That said, this kind of test is very brittle with respect to portability.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions