<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in TestDiagnosticsMetadata.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>12dba4d48461c571cb5bdb7c3ac6078b9a357a02 - [mlir] Add metadata to Diagnostic. (#99398)</title>
        <link>http://src.rcs.uwaterloo.ca:8080/source/history/llvm-project/mlir/test/lib/IR/TestDiagnosticsMetadata.cpp#12dba4d48461c571cb5bdb7c3ac6078b9a357a02</link>
        <description>[mlir] Add metadata to Diagnostic. (#99398)Add metadata to Diagnostic. Motivation: we have a use case where we want to do some filtering in ourcustomized Diagnostic Handler based on some customized info that is not`location` or `severity` or `diagnostic arguments` that are membervariables of `Diagnostic`. Specifically, we want to add a unique ID tothe `Diagnostic` for the handler to filter in a compiler pass that emitserrors in async tasks with multithreading and the diagnostic handling isassociated to the task.This patch adds a field of `metadata` to `mlir::Diagnostics` as ageneral solution. `metadata` is of type `SmallVector&lt;DiagnosticArgument,0&gt;` to save memory size and reuse existing `DiagnosticArgument` formetadata type.

            List of files:
            /llvm-project/mlir/test/lib/IR/TestDiagnosticsMetadata.cpp</description>
        <pubDate>Thu, 25 Jul 2024 14:01:46 +0000</pubDate>
        <dc:creator>weiwei chen &lt;weiwei.chen@modular.com&gt;</dc:creator>
    </item>
</channel>
</rss>
