Lines Matching refs:Parser
10 // This file implements the Declaration portions of the Parser interfaces.
14 #include "clang/Parse/Parser.h"
44 TypeResult Parser::ParseTypeName(SourceRange *Range,
124 void Parser::ParseGNUAttributes(ParsedAttributes &attrs,
233 IdentifierLoc *Parser::ParseIdentifierLoc() {
242 void Parser::ParseAttributeWithTypeArg(IdentifierInfo &AttrName,
271 unsigned Parser::ParseAttributeArgsCommon(
335 void Parser::ParseGNUAttributeArgs(IdentifierInfo *AttrName,
386 bool Parser::ParseMicrosoftDeclSpecArgs(IdentifierInfo *AttrName,
535 void Parser::ParseMicrosoftDeclSpecs(ParsedAttributes &Attrs,
601 void Parser::ParseMicrosoftTypeAttributes(ParsedAttributes &attrs) {
627 void Parser::DiagnoseAndSkipExtendedMicrosoftTypeAttributes() {
637 SourceLocation Parser::SkipExtendedMicrosoftTypeAttributes() {
663 void Parser::ParseBorlandTypeAttributes(ParsedAttributes &attrs) {
673 void Parser::ParseOpenCLKernelAttributes(ParsedAttributes &attrs) {
683 void Parser::ParseOpenCLQualifiers(ParsedAttributes &Attrs) {
690 void Parser::ParseNullabilityTypeSpecifiers(ParsedAttributes &attrs) {
722 VersionTuple Parser::ParseVersionTuple(SourceRange &Range) {
858 void Parser::ParseAvailabilityAttribute(IdentifierInfo &Availability,
1071 void Parser::ParseObjCBridgeRelatedAttribute(IdentifierInfo &ObjCBridgeRelated,
1146 void Parser::LateParsedDeclaration::ParseLexedAttributes() {}
1148 void Parser::LateParsedClass::ParseLexedAttributes() {
1152 void Parser::LateParsedAttribute::ParseLexedAttributes() {
1158 void Parser::ParseLexedAttributes(ParsingClass &Class) {
1189 void Parser::ParseLexedAttributeList(LateParsedAttrList &LAs, Decl *D,
1207 void Parser::ParseLexedAttribute(LateParsedAttribute &LA,
1290 void Parser::ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName,
1360 bool Parser::DiagnoseProhibitedCXX11Attribute() {
1390 void Parser::DiagnoseMisplacedCXX11Attribute(ParsedAttributesWithRange &Attrs,
1405 void Parser::DiagnoseProhibitedAttributes(ParsedAttributesWithRange &attrs) {
1410 void Parser::ProhibitCXX11Attributes(ParsedAttributesWithRange &attrs) {
1424 void Parser::handleDeclspecAlignBeforeClassKey(ParsedAttributesWithRange &Attrs,
1478 Parser::DeclGroupPtrTy Parser::ParseDeclaration(unsigned Context,
1541 Parser::DeclGroupPtrTy
1542 Parser::ParseSimpleDeclaration(unsigned Context,
1581 bool Parser::MightBeDeclarator(unsigned Context) {
1648 void Parser::SkipMalformedDecl() {
1729 Parser::DeclGroupPtrTy Parser::ParseDeclGroup(ParsingDeclSpec &DS,
1915 bool Parser::ParseAsmAttributesAfterDeclarator(Declarator &D) {
1953 /// definitions, but that definitely doesn't fit with the parser here.
1955 Decl *Parser::ParseDeclarationAfterDeclarator(
1963 Decl *Parser::ParseDeclarationAfterDeclaratorAndAttributes(
2063 // We are trying to stop parser from looking for ';' in this for
2168 void Parser::ParseSpecifierQualifierList(DeclSpec &DS, AccessSpecifier AS,
2247 bool Parser::ParseImplicitInt(DeclSpec &DS, CXXScopeSpec *SS,
2459 Parser::DeclSpecContext
2460 Parser::getDeclSpecContextFromDeclaratorContext(unsigned Context) {
2484 ExprResult Parser::ParseAlignArgument(SourceLocation Start,
2510 void Parser::ParseAlignmentSpecifier(ParsedAttributes &Attrs,
2547 Parser::DiagnoseMissingSemiAfterTagDefinition(DeclSpec &DS, AccessSpecifier AS,
2673 void Parser::ParseDeclarationSpecifiers(DeclSpec &DS,
3585 void Parser::ParseStructDeclaration(
3663 void Parser::ParseStructUnionBody(SourceLocation RecordLoc,
3810 void Parser::ParseEnumSpecifier(SourceLocation StartLoc, DeclSpec &DS,
4163 void Parser::ParseEnumBody(SourceLocation StartLoc, Decl *EnumDecl) {
4305 bool Parser::isKnownToBeTypeSpecifier(const Token &Tok) const {
4352 bool Parser::isTypeSpecifierQualifier() {
4474 bool Parser::isDeclarationSpecifier(bool DisambiguatingWithExpression) {
4654 bool Parser::isConstructorDeclarator(bool IsUnqualified) {
4787 void Parser::ParseTypeQualifierListOpt(DeclSpec &DS, unsigned AttrReqs,
4922 void Parser::ParseDeclarator(Declarator &D) {
4925 ParseDeclaratorInternal(D, &Parser::ParseDirectDeclarator);
4990 void Parser::ParseDeclaratorInternal(Declarator &D,
5207 void Parser::ParseDirectDeclarator(Declarator &D) {
5453 void Parser::ParseParenDeclarator(Declarator &D) {
5518 ParseDeclaratorInternal(D, &Parser::ParseDirectDeclarator);
5569 void Parser::ParseFunctionDeclarator(Declarator &D,
5750 bool Parser::ParseRefQualifier(bool &RefQualifierIsLValueRef,
5769 bool Parser::isFunctionDeclaratorIdentifierList() {
5800 void Parser::ParseFunctionDeclaratorIdentifierList(
5876 void Parser::ParseParameterDeclarationClause(
6049 void Parser::ParseBracketDeclarator(Declarator &D) {
6167 void Parser::ParseMisplacedBracketDeclarator(Declarator &D) {
6187 ParseDeclaratorInternal(D, &Parser::ParseDirectDeclarator);
6262 void Parser::ParseTypeofSpecifier(DeclSpec &DS) {
6327 void Parser::ParseAtomicSpecifier(DeclSpec &DS) {
6361 bool Parser::TryAltiVecVectorTokenOutOfLine() {
6392 bool Parser::TryAltiVecTokenOutOfLine(DeclSpec &DS, SourceLocation Loc,