llvm-project/clang/lib/Tooling
Jan Svoboda 13921262ca [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
2022-09-29 11:29:53 -07:00
..
ASTDiff Revert "[clang-diff] Fix assertion error when dealing with wide strings" 2022-06-07 14:58:10 -07:00
Core Fixed a number of typos 2022-08-01 13:13:18 -04:00
DependencyScanning [clang][deps] NFC: Expose more flexible version of `Worker::computeDependencies()` 2022-09-29 11:29:53 -07:00
DumpTool [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
Inclusions Revert "[clang-format] SortIncludes should support "@import" lines in Objective-C" 2022-04-28 11:00:32 +02:00
Refactoring [clang] Convert for_each to range-based for loops (NFC) 2022-06-10 22:39:45 -07:00
Syntax Fixed a number of typos 2022-08-01 13:13:18 -04:00
Transformer [clang][transformer] Finish plumbing `Note` all the way to the output. 2022-08-11 07:54:44 +02:00
AllTUsExecution.cpp Fixed a number of typos 2022-08-01 13:13:18 -04:00
ArgumentsAdjusters.cpp [clang][deps] Move stripping of diagnostic serialization from `clang-scan-deps` to `DependencyScanning` library 2021-06-14 12:23:32 +02:00
CMakeLists.txt Revert "[CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited" 2022-08-25 11:13:46 -04:00
CommonOptionsParser.cpp CommandLine: add and use cl::SubCommand::get{All,TopLevel} 2022-08-02 23:49:16 +02:00
CompilationDatabase.cpp [CompilationDatabase] Pass Twine by const reference instead of by value. NFCI. 2021-01-07 12:53:28 +00:00
EmptyNodeIntrospection.inc.in [AST] Add DeclarationNameInfo to node introspection 2021-04-25 12:12:03 +01:00
Execution.cpp
ExpandResponseFilesCompilationDatabase.cpp [Support] Class for response file expansion (NFC) 2022-09-29 19:15:01 +07:00
FileMatchTrie.cpp
FixIt.cpp
GuessTargetAndModeCompilationDatabase.cpp
InterpolatingCompilationDatabase.cpp [clang] Don't include StringSwitch.h (NFC) 2022-09-18 22:21:32 -07:00
JSONCompilationDatabase.cpp [clang][Tooling] Use Windows command lines on all Windows, except Cygwin 2021-10-13 22:55:14 +03:00
NodeIntrospection.cpp [AST] Sort introspection results without instantiating other data 2021-04-23 16:21:01 +01:00
Refactoring.cpp
RefactoringCallbacks.cpp
StandaloneExecution.cpp
Tooling.cpp [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00