[llvm] [IR] Add non-const DbgRecord::getInstruction() overload (PR #206059)

Konrad Kreczko via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 07:41:59 PDT 2026


================
@@ -370,8 +372,8 @@ class DbgVariableRecord : public DbgRecord, protected DebugValueUser {
                         const DILocation *DI, DbgVariableRecord &InsertBefore);
 
   /// Iterator for ValueAsMetadata that internally uses direct pointer iteration
-  /// over either a ValueAsMetadata* or a ValueAsMetadata**, dereferencing to the
-  /// ValueAsMetadata .
+  /// over either a ValueAsMetadata* or a ValueAsMetadata**, dereferencing to
+  /// the ValueAsMetadata .
----------------
kkreczko wrote:

Thank you for your review, I've changed this comment to how it was.

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


More information about the llvm-commits mailing list