[all-commits] [llvm/llvm-project] 22914a: [NFC] Use isa<...> to replace isa<>||isa<> in cla...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon Oct 31 06:17:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22914a82299dc45d4e5a3ec6c50808c97e6e6a10
      https://github.com/llvm/llvm-project/commit/22914a82299dc45d4e5a3ec6c50808c97e6e6a10
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

  Changed paths:
    M clang/lib/Serialization/ASTCommon.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp

  Log Message:
  -----------
  [NFC] Use isa<...> to replace isa<>||isa<>  in clang/Serialization

Now isa supports the variant args, which could simplify the codes
further. This patch simplify the uses in clang/Serialization




More information about the All-commits mailing list