[clang] [Modules] Delay deserialization of preferred_name attribute at r… (PR #122726)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 05:28:14 PST 2025


================
@@ -83,6 +83,9 @@ class ASTRecordReader
   /// Returns the current value in this record, without advancing.
   uint64_t peekInt() { return Record[Idx]; }
 
+  /// Returns the next value in this record, without advancing.
+  uint64_t peekNextInt() { return Record[Idx + 1]; }
----------------
ChuanqiXu9 wrote:

```suggestion
  uint64_t peekInts(unsigned N) { return Record[Idx + N]; }
```
nit:

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


More information about the cfe-commits mailing list