[PATCH] D129573: [clang] better error message for while loops outside of control flow

YingChi Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 24 20:49:24 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGedaae251cca0: [clang] better error message for while loops outside of control flow (authored by inclyc).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129573

Files:
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/lib/Parse/ParseDecl.cpp
  clang/test/Parser/while-loop-outside-function.c
  clang/test/Parser/while-loop-outside-function.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129573.447186.patch
Type: text/x-patch
Size: 4436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220725/c2a5d282/attachment.bin>


More information about the cfe-commits mailing list