[all-commits] [llvm/llvm-project] 3ce5c0: Replace getAs with castAs, dyn_cast with cast (NFC...

Mike Rice via All-commits all-commits at lists.llvm.org
Fri Nov 17 09:22:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ce5c04ad0585e5e14ba9d2f594492a257edf7b1
      https://github.com/llvm/llvm-project/commit/3ce5c04ad0585e5e14ba9d2f594492a257edf7b1
  Author: Mike Rice <michael.p.rice at intel.com>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

  Log Message:
  -----------
  Replace getAs with castAs, dyn_cast with cast (NFC) (#72600)

Make the code clear that nullptrs are not expected.




More information about the All-commits mailing list