Lines Matching refs:Parser
10 // This file implements the Declaration portions of the Parser interfaces.
14 #include "clang/Parse/Parser.h"
39 TypeResult Parser::ParseTypeName(SourceRange *Range,
115 void Parser::ParseGNUAttributes(ParsedAttributes &attrs,
191 void Parser::ParseGNUAttributeArgs(IdentifierInfo *AttrName,
339 void Parser::ParseMicrosoftDeclSpecWithSingleArg(IdentifierInfo *AttrName,
362 bool Parser::IsSimpleMicrosoftDeclSpec(IdentifierInfo *Ident) {
385 void Parser::ParseComplexMicrosoftDeclSpec(IdentifierInfo *Ident,
546 void Parser::ParseMicrosoftDeclSpec(ParsedAttributes &Attrs) {
600 void Parser::ParseMicrosoftTypeAttributes(ParsedAttributes &attrs) {
614 void Parser::ParseBorlandTypeAttributes(ParsedAttributes &attrs) {
624 void Parser::ParseOpenCLAttributes(ParsedAttributes &attrs) {
634 void Parser::ParseOpenCLQualifiers(DeclSpec &DS) {
692 VersionTuple Parser::ParseVersionTuple(SourceRange &Range) {
810 void Parser::ParseAvailabilityAttribute(IdentifierInfo &Availability,
976 void Parser::LateParsedDeclaration::ParseLexedAttributes() {}
978 Parser::LateParsedClass::ParseLexedAttributes() {
982 void Parser::LateParsedAttribute::ParseLexedAttributes() {
988 void Parser::ParseLexedAttributes(ParsingClass &Class) {
1020 void Parser::ParseLexedAttributeList(LateParsedAttrList &LAs, Decl *D,
1039 void Parser::ParseLexedAttribute(LateParsedAttribute &LA,
1121 bool Parser::IsThreadSafetyAttribute(StringRef AttrName) {
1156 void Parser::ParseThreadSafetyAttribute(IdentifierInfo &AttrName,
1192 void Parser::ParseTypeTagForDatatypeAttribute(IdentifierInfo &AttrName,
1264 bool Parser::DiagnoseProhibitedCXX11Attribute() {
1294 void Parser::DiagnoseMisplacedCXX11Attribute(ParsedAttributesWithRange &Attrs,
1309 void Parser::DiagnoseProhibitedAttributes(ParsedAttributesWithRange &attrs) {
1314 void Parser::ProhibitCXX11Attributes(ParsedAttributesWithRange &attrs) {
1342 Parser::DeclGroupPtrTy Parser::ParseDeclaration(StmtVector &Stmts,
1408 Parser::DeclGroupPtrTy
1409 Parser::ParseSimpleDeclaration(StmtVector &Stmts, unsigned Context,
1437 bool Parser::MightBeDeclarator(unsigned Context) {
1504 void Parser::SkipMalformedDecl() {
1583 Parser::DeclGroupPtrTy Parser::ParseDeclGroup(ParsingDeclSpec &DS,
1742 bool Parser::ParseAsmAttributesAfterDeclarator(Declarator &D) {
1780 /// definitions, but that definitely doesn't fit with the parser here.
1782 Decl *Parser::ParseDeclarationAfterDeclarator(Declarator &D,
1790 Decl *Parser::ParseDeclarationAfterDeclaratorAndAttributes(Declarator &D,
1979 void Parser::ParseSpecifierQualifierList(DeclSpec &DS, AccessSpecifier AS,
2061 bool Parser::ParseImplicitInt(DeclSpec &DS, CXXScopeSpec *SS,
2246 Parser::DeclSpecContext
2247 Parser::getDeclSpecContextFromDeclaratorContext(unsigned Context) {
2266 ExprResult Parser::ParseAlignArgument(SourceLocation Start,
2292 void Parser::ParseAlignmentSpecifier(ParsedAttributes &Attrs,
2349 void Parser::ParseDeclarationSpecifiers(DeclSpec &DS,
3162 void Parser::
3240 void Parser::ParseStructUnionBody(SourceLocation RecordLoc,
3284 Parser &P;
3288 CFieldCallback(Parser &P, Decl *TagDecl,
3386 void Parser::ParseEnumSpecifier(SourceLocation StartLoc, DeclSpec &DS,
3715 void Parser::ParseEnumBody(SourceLocation StartLoc, Decl *EnumDecl) {
3819 bool Parser::isTypeQualifier() const {
3845 bool Parser::isKnownToBeTypeSpecifier(const Token &Tok) const {
3899 bool Parser::isTypeSpecifierQualifier() {
4023 bool Parser::isDeclarationSpecifier(bool DisambiguatingWithExpression) {
4198 bool Parser::isConstructorDeclarator() {
4299 void Parser::ParseTypeQualifierListOpt(DeclSpec &DS,
4405 void Parser::ParseDeclarator(Declarator &D) {
4408 ParseDeclaratorInternal(D, &Parser::ParseDirectDeclarator);
4447 void Parser::ParseDeclaratorInternal(Declarator &D,
4591 static void diagnoseMisplacedEllipsis(Parser &P, Declarator &D,
4645 void Parser::ParseDirectDeclarator(Declarator &D) {
4843 void Parser::ParseParenDeclarator(Declarator &D) {
4908 ParseDeclaratorInternal(D, &Parser::ParseDirectDeclarator);
4959 void Parser::ParseFunctionDeclarator(Declarator &D,
5127 bool Parser::isFunctionDeclaratorIdentifierList() {
5158 void Parser::ParseFunctionDeclaratorIdentifierList(
5238 void Parser::ParseParameterDeclarationClause(
5395 void Parser::ParseBracketDeclarator(Declarator &D) {
5510 void Parser::ParseTypeofSpecifier(DeclSpec &DS) {
5573 void Parser::ParseAtomicSpecifier(DeclSpec &DS) {
5607 bool Parser::TryAltiVecVectorTokenOutOfLine() {
5637 bool Parser::TryAltiVecTokenOutOfLine(DeclSpec &DS, SourceLocation Loc,