Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseExprCXX.cpp1296 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXCasts() local
1297 ParseDeclarator(DeclaratorInfo); in ParseCXXCasts()
1315 if (!Result.isInvalid() && !DeclaratorInfo.isInvalidType()) in ParseCXXCasts()
1317 LAngleBracketLoc, DeclaratorInfo, in ParseCXXCasts()
1586 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXTypeConstructExpression() local
1587 ParsedType TypeRep = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo).get(); in ParseCXXTypeConstructExpression()
1692 Declarator DeclaratorInfo(DS, Declarator::ConditionContext); in ParseCXXCondition() local
1693 ParseDeclarator(DeclaratorInfo); in ParseCXXCondition()
1703 DeclaratorInfo.setAsmLabel(AsmLabel.get()); in ParseCXXCondition()
1704 DeclaratorInfo.SetRangeEnd(Loc); in ParseCXXCondition()
[all …]
HDParseDeclCXX.cpp956 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() local
957 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseBaseTypeSpecifier()
1057 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() local
1058 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseBaseTypeSpecifier()
1903 void Parser::HandleMemberFunctionDeclDelays(Declarator& DeclaratorInfo, in HandleMemberFunctionDeclDelays() argument
1906 = DeclaratorInfo.getFunctionTypeInfo(); in HandleMemberFunctionDeclDelays()
2032 Declarator &DeclaratorInfo, VirtSpecifiers &VS, ExprResult &BitfieldSize, in ParseCXXMemberDeclaratorBeforeInitializer() argument
2039 ParseDeclarator(DeclaratorInfo); in ParseCXXMemberDeclaratorBeforeInitializer()
2041 DeclaratorInfo.SetIdentifier(nullptr, Tok.getLocation()); in ParseCXXMemberDeclaratorBeforeInitializer()
2043 if (!DeclaratorInfo.isFunctionDeclarator() && TryConsumeToken(tok::colon)) { in ParseCXXMemberDeclaratorBeforeInitializer()
[all …]
HDParseTemplate.cpp229 ParsingDeclarator DeclaratorInfo(*this, DS, (Declarator::TheContext)Context); in ParseSingleDeclarationAfterTemplate() local
230 ParseDeclarator(DeclaratorInfo); in ParseSingleDeclarationAfterTemplate()
232 if (!DeclaratorInfo.hasName()) { in ParseSingleDeclarationAfterTemplate()
241 if (DeclaratorInfo.isFunctionDeclarator()) in ParseSingleDeclarationAfterTemplate()
242 MaybeParseGNUAttributes(DeclaratorInfo, &LateParsedAttrs); in ParseSingleDeclarationAfterTemplate()
244 if (DeclaratorInfo.isFunctionDeclarator() && in ParseSingleDeclarationAfterTemplate()
245 isStartOfFunctionDefinition(DeclaratorInfo)) { in ParseSingleDeclarationAfterTemplate()
266 if (DeclaratorInfo.getName().getKind() != UnqualifiedId::IK_TemplateId) { in ParseSingleDeclarationAfterTemplate()
270 return ParseFunctionDefinition(DeclaratorInfo, ParsedTemplateInfo(), in ParseSingleDeclarationAfterTemplate()
275 Diag(DeclaratorInfo.getIdentifierLoc(), in ParseSingleDeclarationAfterTemplate()
[all …]
HDParseExpr.cpp922 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() local
924 DeclaratorInfo); in ParseCastExpression()
1112 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() local
1113 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseCastExpression()
1675 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseExprAfterUnaryExprOrTypeTrait() local
1676 ParseDeclarator(DeclaratorInfo); in ParseExprAfterUnaryExprOrTypeTrait()
2230 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseParenExpression() local
2231 ParseDeclarator(DeclaratorInfo); in ParseParenExpression()
2236 if (!DeclaratorInfo.isInvalidType() && Tok.is(tok::identifier) && in ParseParenExpression()
2242 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
[all …]
HDParseDecl.cpp59 Declarator DeclaratorInfo(DS, Context); in ParseTypeName() local
60 ParseDeclarator(DeclaratorInfo); in ParseTypeName()
62 *Range = DeclaratorInfo.getSourceRange(); in ParseTypeName()
64 if (DeclaratorInfo.isInvalidType()) in ParseTypeName()
67 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName()
3515 ParsingFieldDeclarator DeclaratorInfo(*this, DS); in ParseStructDeclaration() local
3516 DeclaratorInfo.D.setCommaLoc(CommaLoc); in ParseStructDeclaration()
3520 MaybeParseGNUAttributes(DeclaratorInfo.D); in ParseStructDeclaration()
3527 ParseDeclarator(DeclaratorInfo.D); in ParseStructDeclaration()
3529 DeclaratorInfo.D.SetIdentifier(nullptr, Tok.getLocation()); in ParseStructDeclaration()
[all …]
HDParseObjc.cpp2894 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseObjCXXMessageReceiver() local
2895 TypeResult Type = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseObjCXXMessageReceiver()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDInitialization.h31 class DeclaratorInfo; variable
/NextBSD/contrib/llvm/tools/clang/include/clang/Parse/
HDParser.h2385 bool ParseCXXMemberDeclaratorBeforeInitializer(Declarator &DeclaratorInfo,
2396 void HandleMemberFunctionDeclDelays(Declarator& DeclaratorInfo,