[PATCH] D138194: [clang][Parser][NFC] Simplify ParseParenExprOrCondition

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 28 17:22:13 PST 2022


shafik added inline comments.


================
Comment at: clang/lib/Parse/ParseStmt.cpp:1286
   if (getLangOpts().CPlusPlus) {
-    Cond = ParseCXXCondition(InitStmt, Loc, CK, MissingOK);
+    Cond = ParseCXXCondition(InitStmt, Loc, CK, false);
   } else {
----------------
Nitpick edit for adding `bugprone-argument-comment` annotation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138194/new/

https://reviews.llvm.org/D138194



More information about the cfe-commits mailing list