[clang] [llvm] [clang] Deduplicate builtin diagnostic descriptions (PR #202624)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 10:58:38 PDT 2026


github-actions[bot] wrote:

<!--LLVM IDS CHECK COMMENT-->


:warning: LLVM ABI annotation checker, ids-check found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
Build idt from compnerd/ids, then for each changed header:
    idt -p build/ --main-file <matching-source.cpp> \
        --apply-fixits --inplace <header>
``````````

</details>

<details>
<summary>
View the diff from ids-check here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/TableGen/StringToOffsetTable.h b/llvm/include/llvm/TableGen/StringToOffsetTable.h
index 159ef3639..c5adf370c 100644
--- a/llvm/include/llvm/TableGen/StringToOffsetTable.h
+++ b/llvm/include/llvm/TableGen/StringToOffsetTable.h
@@ -71,7 +71,7 @@ public:
   //
   // This preserves the large-string handling of EmitStringTableDef without
   // emitting an llvm::StringTable object.
-  void EmitStringTableStorageDef(raw_ostream &OS, const Twine &Name) const;
+  LLVM_ABI void EmitStringTableStorageDef(raw_ostream &OS, const Twine &Name) const;
 
   // Emit the string as one single string.
   LLVM_ABI void EmitString(raw_ostream &O) const;

``````````

</details>


https://github.com/llvm/llvm-project/pull/202624


More information about the llvm-commits mailing list