[llvm] [TargetParser][NFC] Move Triple comparators out of line (PR #206032)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 04:07:20 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/TargetParser/Triple.h b/llvm/include/llvm/TargetParser/Triple.h
index 2540e5ab9..852a410be 100644
--- a/llvm/include/llvm/TargetParser/Triple.h
+++ b/llvm/include/llvm/TargetParser/Triple.h
@@ -387,10 +387,10 @@ public:
LLVM_ABI Triple(ArchType A, SubArchType SA, VendorType V, OSType OS,
EnvironmentType E, ObjectFormatType OF);
- bool operator==(const Triple &Other) const;
+ LLVM_ABI bool operator==(const Triple &Other) const;
bool operator!=(const Triple &Other) const { return !(*this == Other); }
- bool operator<(const Triple &Other) const;
+ LLVM_ABI bool operator<(const Triple &Other) const;
/// @}
/// @name Normalization
``````````
</details>
https://github.com/llvm/llvm-project/pull/206032
More information about the llvm-commits
mailing list