aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorRoy Jacobson <roi.jacobson1@gmail.com>2022-08-31 22:27:09 +0300
committerRoy Jacobson <roi.jacobson1@gmail.com>2022-08-31 23:16:49 +0300
commitbb9dedce5d01f5608acd784942481f386c710c0d (patch)
tree41d38520b2fb4798b66365715f9512e989e7dfe8 /llvm/lib/Transforms/Utils/Local.cpp
parent960e7a5513267b38a07405931300bbf40ddf1902 (diff)
downloadllvm-bb9dedce5d01f5608acd784942481f386c710c0d.zip
llvm-bb9dedce5d01f5608acd784942481f386c710c0d.tar.gz
llvm-bb9dedce5d01f5608acd784942481f386c710c0d.tar.bz2
[Frontend] Restore Preprocessor::getPredefines()
https://reviews.llvm.org/rG6bbf51f3ed59ae37f0fec729f25af002111c9e74 from May removed Preprocessor::getPredefines() from Clang's API, presumably as a cleanup because this method is unused in the LLVM codebase. However, it was/is used by a small number of third-party tools and is pretty harmless, so this patch adds it back and documents why it's here. The issue was raised in https://github.com/llvm/llvm-project/issues/57483, it would be nice to be able to land it into Clang 15 as it breaks those third-party tools and we can't easily add it back in bug fix releases. Reviewed By: brad.king, thieta Differential Revision: https://reviews.llvm.org/D133044
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions