[clang][Parse] Remove constant expression from if condition
authorTimm Bäder <tbaeder@redhat.com>
Fri, 18 Nov 2022 13:13:18 +0000 (14:13 +0100)
committerTimm Bäder <tbaeder@redhat.com>
Tue, 22 Nov 2022 16:31:21 +0000 (17:31 +0100)
commit2a1c192bd6bf639bc3f14cfb19c5d7aff5e7794b
tree8882564f371e353594a526c905b5b1c25702d29d
parent6c01b5cdaddce8df325020659d73cd7728778392
[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
clang/lib/Parse/ParseExpr.cpp