[PATCH] D63975: Warn when ScopeDepthOrObjCQuals overflows

Mark de Wever via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 13 10:45:04 PDT 2019


Mordante updated this revision to Diff 209703.
Mordante added a comment.

Addresses @rjmccall's remarks.
Fixes the tests for the nested lambda's.
As suspected the blocks also have the same nesting limit, thus added a test for them.


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

https://reviews.llvm.org/D63975

Files:
  clang/include/clang/AST/Decl.h
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/lib/Parse/ParseDecl.cpp
  clang/test/Parser/nested_blocks_overflow.cpp
  clang/test/Parser/nested_function_prototype_overflow.cpp
  clang/test/Parser/nested_lambda_overflow.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63975.209703.patch
Type: text/x-patch
Size: 10670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190713/678b2cbb/attachment.bin>


More information about the cfe-commits mailing list