aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAugusto Noronha <augusto2112@me.com>2023-12-05 12:26:10 -0800
committerGitHub <noreply@github.com>2023-12-05 12:26:10 -0800
commit901bc5129d1a1e8ad47801343d48dcd9e01ad386 (patch)
treefdde85ce217c5aad7c7a91934ab1f6bc8905f114 /clang/lib/CodeGen/CodeGenModule.cpp
parenta0dde7b8d16842005d6f5247dda6f17c77a5906f (diff)
downloadllvm-901bc5129d1a1e8ad47801343d48dcd9e01ad386.zip
llvm-901bc5129d1a1e8ad47801343d48dcd9e01ad386.tar.gz
llvm-901bc5129d1a1e8ad47801343d48dcd9e01ad386.tar.bz2
[NFC][lldb] Implement DiagnosticManager::Consume (#74011)
In some situations it may be useful to have a separate DiagnosticManager instance, and then later of move the contents of that instance back to the "main" DiagnosticManager. For example, when silently retrying some operation with different parameters, depending on whether the retry succeeded or failed, LLDB may want to present a different set of diagnostics to the user (the ones generated on the first try vs the retry). Implement DiagnosticManager::Consume to allow for this use case.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions