Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseExprCXX.cpp1298 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXCasts() local
1299 ParseDeclarator(DeclaratorInfo); in ParseCXXCasts()
1317 if (!Result.isInvalid() && !DeclaratorInfo.isInvalidType()) in ParseCXXCasts()
1319 LAngleBracketLoc, DeclaratorInfo, in ParseCXXCasts()
1603 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXTypeConstructExpression() local
1604 ParsedType TypeRep = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo).get(); in ParseCXXTypeConstructExpression()
1709 Declarator DeclaratorInfo(DS, Declarator::ConditionContext); in ParseCXXCondition() local
1710 ParseDeclarator(DeclaratorInfo); in ParseCXXCondition()
1720 DeclaratorInfo.setAsmLabel(AsmLabel.get()); in ParseCXXCondition()
1721 DeclaratorInfo.SetRangeEnd(Loc); in ParseCXXCondition()
[all …]
DParseDeclCXX.cpp963 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() local
964 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseBaseTypeSpecifier()
1064 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() local
1065 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseBaseTypeSpecifier()
1948 void Parser::HandleMemberFunctionDeclDelays(Declarator& DeclaratorInfo, in HandleMemberFunctionDeclDelays() argument
1951 = DeclaratorInfo.getFunctionTypeInfo(); in HandleMemberFunctionDeclDelays()
2077 Declarator &DeclaratorInfo, VirtSpecifiers &VS, ExprResult &BitfieldSize, in ParseCXXMemberDeclaratorBeforeInitializer() argument
2084 ParseDeclarator(DeclaratorInfo); in ParseCXXMemberDeclaratorBeforeInitializer()
2086 DeclaratorInfo.SetIdentifier(nullptr, Tok.getLocation()); in ParseCXXMemberDeclaratorBeforeInitializer()
2088 if (!DeclaratorInfo.isFunctionDeclarator() && TryConsumeToken(tok::colon)) { in ParseCXXMemberDeclaratorBeforeInitializer()
[all …]
DParseTemplate.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 …]
DParseExpr.cpp925 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() local
927 DeclaratorInfo); in ParseCastExpression()
1123 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() local
1124 TypeResult Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseCastExpression()
1707 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseExprAfterUnaryExprOrTypeTrait() local
1708 ParseDeclarator(DeclaratorInfo); in ParseExprAfterUnaryExprOrTypeTrait()
2262 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseParenExpression() local
2263 ParseDeclarator(DeclaratorInfo); in ParseParenExpression()
2268 if (!DeclaratorInfo.isInvalidType() && Tok.is(tok::identifier) && in ParseParenExpression()
2274 Ty = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseParenExpression()
[all …]
DParseDecl.cpp61 Declarator DeclaratorInfo(DS, Context); in ParseTypeName() local
62 ParseDeclarator(DeclaratorInfo); in ParseTypeName()
64 *Range = DeclaratorInfo.getSourceRange(); in ParseTypeName()
66 if (DeclaratorInfo.isInvalidType()) in ParseTypeName()
69 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName()
3525 ParsingFieldDeclarator DeclaratorInfo(*this, DS); in ParseStructDeclaration() local
3526 DeclaratorInfo.D.setCommaLoc(CommaLoc); in ParseStructDeclaration()
3530 MaybeParseGNUAttributes(DeclaratorInfo.D); in ParseStructDeclaration()
3537 ParseDeclarator(DeclaratorInfo.D); in ParseStructDeclaration()
3539 DeclaratorInfo.D.SetIdentifier(nullptr, Tok.getLocation()); in ParseStructDeclaration()
[all …]
DParseObjc.cpp2902 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseObjCXXMessageReceiver() local
2903 TypeResult Type = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseObjCXXMessageReceiver()
/external/clang/include/clang/Sema/
DInitialization.h31 class DeclaratorInfo; variable
/external/clang/include/clang/Parse/
DParser.h2388 bool ParseCXXMemberDeclaratorBeforeInitializer(Declarator &DeclaratorInfo,
2403 void HandleMemberFunctionDeclDelays(Declarator& DeclaratorInfo,