aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-09-10 12:50:51 +0200
committerJan Svoboda <jan_svoboda@apple.com>2021-09-10 13:31:17 +0200
commite08911e17b2bf7030a587bbf158e6a4fe0164f38 (patch)
treee3b363a9fb119613a113ee4fd2dbdc91d927b24c /lldb/source/Commands/CommandObjectPlatform.cpp
parent9685631cbeb85592b713206dd660312dcb7bd9cb (diff)
downloadllvm-e08911e17b2bf7030a587bbf158e6a4fe0164f38.zip
llvm-e08911e17b2bf7030a587bbf158e6a4fe0164f38.tar.gz
llvm-e08911e17b2bf7030a587bbf158e6a4fe0164f38.tar.bz2
[clang][tooling] Accept custom diagnostic options in ToolInvocation
This patch allows the clients of `ToolInvocation` to provide custom diagnostic options to be used during driver -> cc1 command-line transformation and parsing. Tests covering this functionality are in a follow-up commit. To make this testable, the `DiagnosticsEngine` needs to be properly initialized via `CompilerInstance::createDiagnostics`. Reviewed By: dexonsmith, arphaman Differential Revision: https://reviews.llvm.org/D108976
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
0 files changed, 0 insertions, 0 deletions