aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2021-09-08 16:03:28 -0700
committerDavid Blaikie <dblaikie@gmail.com>2021-09-08 16:16:54 -0700
commit0c502507f4627f72eeecbb5e78c2f9c1cb8f9219 (patch)
tree423d77ca4be2aa2f19bb3d36c24859ca34de7e95 /llvm/lib/Support/APInt.cpp
parenta024d35b3885490221e78b835b087a830cc3c325 (diff)
downloadllvm-0c502507f4627f72eeecbb5e78c2f9c1cb8f9219.zip
llvm-0c502507f4627f72eeecbb5e78c2f9c1cb8f9219.tar.gz
llvm-0c502507f4627f72eeecbb5e78c2f9c1cb8f9219.tar.bz2
FileError: Support zero-length file names
It's a common error in an API - to try to open an empty file, so it seems like a reasonable FileError to produce "hey, you tried to open an empty file" and to handle it the same way as any other file error.
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions