Searched refs:ForInit (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | constexpr-function-recovery-crash.cpp | 99 TEST_EVALUATE(ForInit, if (!!;;){};); // expected-error + {{}}
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | DeclSpec.h | 1772 ForInit, // Declaration within first part of a for loop. enumerator 2031 case DeclaratorContext::ForInit: in mayOmitIdentifier() 2071 case DeclaratorContext::ForInit: in mayHaveIdentifier() 2109 case DeclaratorContext::ForInit: in mayHaveDecompositionDeclarator() 2165 case DeclaratorContext::ForInit: in mayBeFollowedByCXXDirectInit() 2394 case DeclaratorContext::ForInit: in isFunctionDeclarationContext() 2459 case DeclaratorContext::ForInit: in isExpressionContext()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 2017 DG = ParseAliasDeclarationInInitStatement(DeclaratorContext::ForInit, in ParseForStatement() 2027 DeclaratorContext::ForInit, DeclEnd, attrs, DeclSpecAttrs, false, in ParseForStatement()
|
| H A D | ParseExprCXX.cpp | 1920 assert((Context == DeclaratorContext::ForInit || in ParseAliasDeclarationInInitStatement() 2070 DeclaratorContext::ForInit, DeclEnd, attrs, DeclSpecAttrs, false, FRI); in ParseCXXCondition()
|
| H A D | ParseDecl.cpp | 2189 bool ExpectSemi = Context != DeclaratorContext::ForInit; in ParseDeclGroup() 2464 if (D.getContext() == DeclaratorContext::ForInit || in ParseDeclarationAfterDeclaratorAndAttributes() 6129 (D.getContext() == DeclaratorContext::ForInit && in ParseDirectDeclarator()
|
| H A D | ParseDeclCXX.cpp | 689 Context == DeclaratorContext::ForInit; in ParseUsingDeclaration()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaType.cpp | 3575 case DeclaratorContext::ForInit: in GetDeclSpecTypeForDeclarator() 3659 case DeclaratorContext::ForInit: in GetDeclSpecTypeForDeclarator() 4759 case DeclaratorContext::ForInit: in GetFullTypeForDeclarator() 5810 case DeclaratorContext::ForInit: in GetFullTypeForDeclarator()
|
| H A D | SemaDecl.cpp | 13498 Declarator D(DS, ParsedAttributesView::none(), DeclaratorContext::ForInit); in ActOnCXXForRangeIdentifier()
|