[all-commits] [llvm/llvm-project] 799ae7: [NFC] [Serialization] Avoid unnecessary check for ...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Tue Jun 4 00:29:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 799ae77993fa5d7b0638f10b3895090f8748de92
      https://github.com/llvm/llvm-project/commit/799ae77993fa5d7b0638f10b3895090f8748de92
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-06-04 (Tue, 04 Jun 2024)

  Changed paths:
    M clang/lib/Serialization/ASTWriter.cpp

  Log Message:
  -----------
  [NFC] [Serialization] Avoid unnecessary check for if Identifier from AST

Inspired by the review process in
https://github.com/llvm/llvm-project/pull/92085.

The check `ID >= FirstIdentID` can cover the following check
`!II->isFromAST()`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list