[all-commits] [llvm/llvm-project] 22b65a: [NFC][Clang][ASTTests] Use ASSERT instead of EXPEC...

Michael Spencer via All-commits all-commits at lists.llvm.org
Wed Jan 4 17:33:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22b65a329ac2621279ae211dd6a868198e68d149
      https://github.com/llvm/llvm-project/commit/22b65a329ac2621279ae211dd6a868198e68d149
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2023-01-04 (Wed, 04 Jan 2023)

  Changed paths:
    M clang/unittests/AST/DeclTest.cpp

  Log Message:
  -----------
  [NFC][Clang][ASTTests] Use ASSERT instead of EXPECT for nullptr checks

This avoids basically guaranteed crashes when the check fails.




More information about the All-commits mailing list