SuccessChanges

Summary

  1. [Parser] Warn when ScopeDepthOrObjCQuals overflows (details)
Commit b9be5ce8f3e0e697a61ad16e2c669de6ea8f8739 by koraq
[Parser] Warn when ScopeDepthOrObjCQuals overflows
Before when the overflow occured an assertion was triggered. Now check
whether the maximum has been reached and warn properly.
This patch fixes the original submission of PR19607.
Differential Revision: https://reviews.llvm.org/D63975
The file was addedclang/test/Parser/nested_function_prototype_overflow.cpp
The file was addedclang/test/Parser/nested_lambda_overflow.cpp
The file was addedclang/test/Parser/nested_blocks_overflow.cpp
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td