aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2022-02-15 09:17:22 +0100
committerJan Svoboda <jan_svoboda@apple.com>2022-02-15 09:48:25 +0100
commit7a124f4859d5c4093467abc2e734f8ab15e78cc6 (patch)
tree0be667c132aa4b79580b8c6c7049e68d8eb1c288 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent8f55cd0178c192232929afae5d73c363167b26d8 (diff)
downloadllvm-7a124f4859d5c4093467abc2e734f8ab15e78cc6.zip
llvm-7a124f4859d5c4093467abc2e734f8ab15e78cc6.tar.gz
llvm-7a124f4859d5c4093467abc2e734f8ab15e78cc6.tar.bz2
[clang][lex] Remove `PPCallbacks::FileNotFound()`
The purpose of the `FileNotFound` preprocessor callback was to add the ability to recover from failed header lookups. This was to support downstream project. However, injecting additional search path while performing header search can invalidate currently used iterators/references to `DirectoryLookup` in `Preprocessor` and `HeaderSearch`. The downstream project ended up maintaining a separate patch to further tweak the functionality. Since we don't have any upstream users nor open source downstream users, I'd like to remove this callback for good to prevent future misuse. I doubt there are any actual downstream users, since the functionality is definitely broken at the moment. Reviewed By: ahoppen Differential Revision: https://reviews.llvm.org/D119708
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions