[llvm] [TableGen] Remove wrong comment for CodeGenTarget ctor (PR #141024)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 22 02:19:10 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-tablegen
Author: Tomer Shafir (tomershafir)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/141024.diff
1 Files Affected:
- (modified) llvm/utils/TableGen/Common/CodeGenTarget.cpp (-2)
``````````diff
diff --git a/llvm/utils/TableGen/Common/CodeGenTarget.cpp b/llvm/utils/TableGen/Common/CodeGenTarget.cpp
index 3169019bbd5b6..fb109ad50f14c 100644
--- a/llvm/utils/TableGen/Common/CodeGenTarget.cpp
+++ b/llvm/utils/TableGen/Common/CodeGenTarget.cpp
@@ -70,8 +70,6 @@ std::string llvm::getQualifiedName(const Record *R) {
return Namespace + "::" + R->getName().str();
}
-/// getTarget - Return the current instance of the Target class.
-///
CodeGenTarget::CodeGenTarget(const RecordKeeper &records)
: Records(records), CGH(records), Intrinsics(records) {
ArrayRef<const Record *> Targets = Records.getAllDerivedDefinitions("Target");
``````````
</details>
https://github.com/llvm/llvm-project/pull/141024
More information about the llvm-commits
mailing list