[llvm] [LLVM][IR] Switch from manual pointer incrementation to function in Lexer (PR #152103)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 07:58:44 PDT 2025


Albert =?utf-8?q?Havli=C4=8Dek?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havli=C4=8Dek?= <ahavlicek at azul.com>,
Albert =?utf-8?q?Havli=C4=8Dek?= <ahavlicek at azul.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/152103 at github.com>


================
@@ -93,7 +93,12 @@ namespace llvm {
   private:
     lltok::Kind LexToken();
 
+    // Return closes pointer after `Ptr` that is an end of a label.
----------------
nikic wrote:

```suggestion
    // Return closest pointer after `Ptr` that is an end of a label.
```

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


More information about the llvm-commits mailing list