aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorVaibhav Yenamandra <vyenamandra@bloomberg.net>2022-06-30 13:23:15 -0400
committerAaron Ballman <aaron@aaronballman.com>2022-06-30 13:23:15 -0400
commit329fae7103d355e728cc326a0a9abef889ccc577 (patch)
tree4fcbe447b2a07d8c2141ddac28c1db852e91bdf7 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentc4960f6363c43a35851d1565b7fe96926ed82722 (diff)
downloadllvm-329fae7103d355e728cc326a0a9abef889ccc577.zip
llvm-329fae7103d355e728cc326a0a9abef889ccc577.tar.gz
llvm-329fae7103d355e728cc326a0a9abef889ccc577.tar.bz2
[clang] Emit SARIF Diagnostics: Create `clang::SarifDocumentWriter` interface
Create an interface for writing SARIF documents from within clang: The primary intent of this change is to introduce the interface clang::SarifDocumentWriter, which allows incrementally adding diagnostic data to a JSON backed document. The proposed interface is not yet connected to the compiler internals, which will be covered in future work. As such this change will not change the input/output interface of clang. This change also introduces the clang::FullSourceRange type that is modeled after clang::SourceRange + clang::FullSourceLoc, this is useful for packaging a pair of clang::SourceLocation objects with their corresponding SourceManagers. Previous discussions: RFC for this change: https://lists.llvm.org/pipermail/cfe-dev/2021-March/067907.html https://lists.llvm.org/pipermail/cfe-dev/2021-July/068480.html SARIF Standard (2.1.0): https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html Differential Revision: https://reviews.llvm.org/D109701
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions