[all-commits] [llvm/llvm-project] ba59ec: Fix a misuse of `cast`

Sheng via All-commits all-commits at lists.llvm.org
Sun Apr 10 18:22:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba59ec2843f99f19d55d7cd9f9ac536fb038fdab
      https://github.com/llvm/llvm-project/commit/ba59ec2843f99f19d55d7cd9f9ac536fb038fdab
  Author: Sheng <ox59616e at gmail.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M llvm/utils/TableGen/FixedLenDecoderEmitter.cpp

  Log Message:
  -----------
  Fix a misuse of `cast`

`cast` will assert instead of returning null pointer.




More information about the All-commits mailing list