llvm-project/clang/lib/Parse
Corentin Jabot 977bdf6f44 Make simple requirements starting with requires ill-formed in in requirement body
This patch implements P2092

Simple requirements in requirement body shall not start with requires.
A warning was already in place so we just turn this warning into an error.

In addition, we add tests to make sure typename is optional in
requirement-parameter-list as per the same paper.
2021-08-03 07:42:29 -04:00
..
CMakeLists.txt [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
ParseAST.cpp [Support] Add TimeTraceScope constructor without detail arg 2019-12-11 14:32:21 +00:00
ParseCXXInlineMethods.cpp [OpenMP] Support OpenMP 5.1 attributes 2021-07-12 06:51:19 -04:00
ParseDecl.cpp [OpenCL] Add support of __opencl_c_pipes feature macro. 2021-07-30 18:10:25 +03:00
ParseDeclCXX.cpp [clang] Make member var invalid when static initializer is invalid. 2021-08-03 11:52:52 +02:00
ParseExpr.cpp Reimplement __builtin_unique_stable_name- 2021-05-27 07:12:20 -07:00
ParseExprCXX.cpp Make simple requirements starting with requires ill-formed in in requirement body 2021-08-03 07:42:29 -04:00
ParseInit.cpp [CodeCompletion] Avoid spurious signature help for init-list args 2021-03-16 12:46:40 +01:00
ParseObjc.cpp [CodeCompletion] Avoid spurious signature help for init-list args 2021-03-16 12:46:40 +01:00
ParseOpenMP.cpp [OpenMP] Support OpenMP 5.1 attributes 2021-07-12 06:51:19 -04:00
ParsePragma.cpp [CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly 2021-07-28 10:50:32 -04:00
ParseStmt.cpp [OpenMP] Support OpenMP 5.1 attributes 2021-07-12 06:51:19 -04:00
ParseStmtAsm.cpp Remove unused parameter from parseMSInlineAsm. 2021-07-12 15:07:03 +01:00
ParseTemplate.cpp PR45699: Fix crash if an unexpanded parameter pack appears in a 2020-12-03 15:26:06 -08:00
ParseTentative.cpp [clang] Fix ternary operator in the second for loop statement 2021-05-16 10:42:52 -07:00
Parser.cpp [OpenMP] Support OpenMP 5.1 attributes 2021-07-12 06:51:19 -04:00