diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2022-09-29 11:00:42 -0700 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2022-09-29 11:29:53 -0700 |
commit | 13921262cae0e7346e41875c1850d8861be0488e (patch) | |
tree | 846b0c4a31330e501f1cee69526e6e7cb7f8d8f0 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 29e0435ac04957861aa1f85d41291c8b19db0122 (diff) | |
download | llvm-13921262cae0e7346e41875c1850d8861be0488e.zip llvm-13921262cae0e7346e41875c1850d8861be0488e.tar.gz llvm-13921262cae0e7346e41875c1850d8861be0488e.tar.bz2 |
[clang][deps] NFC: Expose more flexible version of `Worker::computeDependencies()`
This patch adds new member function to `DependencyScanningWorker` that allows clients to pass custom `DiagnosticConsumer`, and returns `bool`.
This provides more flexibility compared to the existing version that automatically stringifies diagnostics and returns them in `llvm::Error`.
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D134838
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions