<html><head><title></title></head><body><!-- rte-version 0.2 9947551637294008b77bce25eb683dac --><div class="rte-style-maintainer rte-pre-wrap" data-color="global-default" bbg-color="default" data-bb-font-size="medium"bbg-font-size="medium" style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth";"style="white-space: pre-wrap; font-size: small; font-family: "Courier New", Courier, "BB.FixedWidth"; color: rgb(0, 0, 0);">Hello Everyone,<div><br></div><div>I've been working on adding support for emitting SARIF from clang via -fdiagnostics-format=sarif (rfc: <a spellcheck="false"bbg-destination="rte:bind" data-destination="rte:bind" href="https://lists.llvm.org/pipermail/cfe-dev/2021-March/067907.html">https://lists.llvm.org/pipermail/cfe-dev/2021-March/067907.html</a>), and need to decide on the name / location of a new library I will add to clang in the process, and would like to hear community input.</div><div><br></div><div>The goal of this library would be provide a `clang::SarifDocumentWriter` and related types that represent SARIF data. For now it depends on clang specific types such as `clang::SourceManager`, `clang::SourceLocation`. Also if there are any guides to conventions withing LLVM/cfe-dev surrounding namespaces, I'd be happy to use them to come up with something as well :)</div><div><br></div><div>As for the name for the Sarif library: I am thinking of calling it "clang/Support/Sarif.h" within "clangSupport" (akin to llvm/Support/JSON.h), are there any objections to this / other names or locations I can place this code in?</div></div></body></html>