Home
last modified time | relevance | path

Searched refs:ForInit (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconstexpr-function-recovery-crash.cpp99 TEST_EVALUATE(ForInit, if (!!;;){};); // expected-error + {{}}
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h1772 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 DParseStmt.cpp2017 DG = ParseAliasDeclarationInInitStatement(DeclaratorContext::ForInit, in ParseForStatement()
2027 DeclaratorContext::ForInit, DeclEnd, attrs, DeclSpecAttrs, false, in ParseForStatement()
H A DParseExprCXX.cpp1920 assert((Context == DeclaratorContext::ForInit || in ParseAliasDeclarationInInitStatement()
2070 DeclaratorContext::ForInit, DeclEnd, attrs, DeclSpecAttrs, false, FRI); in ParseCXXCondition()
H A DParseDecl.cpp2189 bool ExpectSemi = Context != DeclaratorContext::ForInit; in ParseDeclGroup()
2464 if (D.getContext() == DeclaratorContext::ForInit || in ParseDeclarationAfterDeclaratorAndAttributes()
6129 (D.getContext() == DeclaratorContext::ForInit && in ParseDirectDeclarator()
H A DParseDeclCXX.cpp689 Context == DeclaratorContext::ForInit; in ParseUsingDeclaration()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp3575 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 DSemaDecl.cpp13498 Declarator D(DS, ParsedAttributesView::none(), DeclaratorContext::ForInit); in ActOnCXXForRangeIdentifier()