[PATCH] D129573: [clang] add a diagnostic note 'while loop outside functions' at global scope

YingChi Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 19 00:38:30 PDT 2022


inclyc updated this revision to Diff 445712.

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.445712.patch
Type: text/x-patch
Size: 4524 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220719/3a92744c/attachment.bin>


More information about the cfe-commits mailing list