[all-commits] [llvm/llvm-project] 2a1c19: [clang][Parse] Remove constant expression from if ...

Timm Bäder via All-commits all-commits at lists.llvm.org
Tue Nov 22 08:31:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a1c192bd6bf639bc3f14cfb19c5d7aff5e7794b
      https://github.com/llvm/llvm-project/commit/2a1c192bd6bf639bc3f14cfb19c5d7aff5e7794b
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-11-22 (Tue, 22 Nov 2022)

  Changed paths:
    M clang/lib/Parse/ParseExpr.cpp

  Log Message:
  -----------
  [clang][Parse] Remove constant expression from if condition

MaybeTypeCast here is not a variable, it's an enum member with value 1.

Differential Revision: https://reviews.llvm.org/D138289




More information about the All-commits mailing list