[clang] [C23] Fix typeof handling in enum declarations (PR #146394)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 2 11:40:26 PDT 2025


================
@@ -4210,6 +4215,7 @@ class Parser : public CodeCompletionHandler {
   /// \endverbatim
   ExprResult ParseParenExpression(ParenParseOption &ExprType,
                                   bool stopIfCastExpr, bool isTypeCast,
+                                  bool ParenKnownToBeNonCast,
----------------
AaronBallman wrote:

I ended up picking different names for `TypeCastState` because that was still confusing.

https://github.com/llvm/llvm-project/pull/146394


More information about the cfe-commits mailing list