Home
last modified time | relevance | path

Searched refs:ColonLoc (Results 1 – 25 of 25) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseStmt.cpp553 SourceLocation ColonLoc = ConsumeToken(); in ParseLabeledStatement() local
592 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement()
601 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc, in ParseLabeledStatement()
637 SourceLocation ColonLoc; in ParseCaseStatement() local
641 ColonLoc = SourceLocation(); in ParseCaseStatement()
666 TryConsumeToken(tok::colon, ColonLoc); in ParseCaseStatement()
684 TryConsumeToken(tok::colon, ColonLoc); in ParseCaseStatement()
693 if (TryConsumeToken(tok::colon, ColonLoc)) { in ParseCaseStatement()
694 } else if (TryConsumeToken(tok::semi, ColonLoc) || in ParseCaseStatement()
695 TryConsumeToken(tok::coloncolon, ColonLoc)) { in ParseCaseStatement()
[all …]
HDParseOpenMP.cpp709 SourceLocation ColonLoc = SourceLocation(); in ParseOpenMPVarListClause() local
736 ColonLoc = ConsumeToken(); in ParseOpenMPVarListClause()
754 ColonLoc = ConsumeToken(); in ParseOpenMPVarListClause()
794 ColonLoc = Tok.getLocation(); in ParseOpenMPVarListClause()
813 Kind, Vars, TailExpr, Loc, LOpen, ColonLoc, Tok.getLocation(), in ParseOpenMPVarListClause()
HDParseInit.cpp147 SourceLocation ColonLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local
150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
155 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
HDParseExpr.cpp251 SourceLocation ColonLoc; in ParseRHSOfBinaryExpression() local
309 if (!TryConsumeToken(tok::colon, ColonLoc)) { in ParseRHSOfBinaryExpression()
335 ColonLoc = Tok.getLocation(); in ParseRHSOfBinaryExpression()
444 LHS = Actions.ActOnConditionalOp(OpToken.getLocation(), ColonLoc, in ParseRHSOfBinaryExpression()
HDParseObjc.cpp1484 SourceLocation ColonLoc = Tok.getLocation(); in ParseObjCMethodDecl() local
1485 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) { in ParseObjCMethodDecl()
1488 Diag(ColonLoc, diag::note_force_empty_selector_name) << ArgInfo.Name; in ParseObjCMethodDecl()
HDParseDeclCXX.cpp3132 SourceLocation ColonLoc = ConsumeToken(); in ParseConstructorInitializer() local
3169 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, MemInitializers, in ParseConstructorInitializer()
HDParseDecl.cpp1796 if (TryConsumeToken(tok::colon, FRI->ColonLoc)) { in ParseDeclGroup()
2034 FRI->ColonLoc = EqualLoc; in ParseDeclarationAfterDeclaratorAndAttributes()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDOpenMPClause.h1416 SourceLocation ColonLoc; variable
1433 SourceLocation ColonLoc, SourceLocation EndLoc, unsigned N, in OMPReductionClause() argument
1438 ColonLoc(ColonLoc), QualifierLoc(QualifierLoc), NameInfo(NameInfo) {} in OMPReductionClause()
1448 ColonLoc(), QualifierLoc(), NameInfo() {} in OMPReductionClause()
1451 void setColonLoc(SourceLocation CL) { ColonLoc = CL; } in setColonLoc()
1529 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL,
1541 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
1596 SourceLocation ColonLoc; variable
1613 SourceLocation ColonLoc, SourceLocation EndLoc, in OMPLinearClause() argument
1617 ColonLoc(ColonLoc) {} in OMPLinearClause()
[all …]
HDStmtCXX.h134 SourceLocation ColonLoc; variable
187 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
188 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } in setColonLoc()
HDStmt.h657 SourceLocation ColonLoc; variable
659 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) in SwitchCase() argument
660 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) { in SwitchCase()
675 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
676 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc()
714 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
715 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc()
769 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
770 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc()
HDDeclCXX.h104 SourceLocation ColonLoc; variable
107 SourceLocation ASLoc, SourceLocation ColonLoc) in AccessSpecDecl() argument
108 : Decl(AccessSpec, DC, ASLoc), ColonLoc(ColonLoc) { in AccessSpecDecl()
120 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
122 void setColonLoc(SourceLocation CLoc) { ColonLoc = CLoc; } in setColonLoc()
130 SourceLocation ColonLoc) { in Create() argument
131 return new (C, DC) AccessSpecDecl(AS, DC, ASLoc, ColonLoc); in Create()
HDDeclObjC.h551 SourceLocation ColonLoc; variable
561 VarianceLoc(varianceLoc), ColonLoc(colonLoc) { } in ObjCTypeParamDecl()
594 bool hasExplicitBound() const { return ColonLoc.isValid(); } in hasExplicitBound()
598 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
HDExpr.h3147 SourceLocation QuestionLoc, ColonLoc; variable
3158 QuestionLoc(qloc), ColonLoc(cloc) {} in AbstractConditionalOperator()
3178 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaStmt.cpp368 SourceLocation ColonLoc) { in ActOnCaseStmt() argument
422 CaseStmt(LHS.get(), RHS.get(), CaseLoc, DotDotDotLoc, ColonLoc); in ActOnCaseStmt()
436 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt() argument
445 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt()
452 SourceLocation ColonLoc, Stmt *SubStmt) { in ActOnLabelStmt() argument
1936 Stmt *First, SourceLocation ColonLoc, Expr *Range, in ActOnCXXForRangeStmt() argument
1980 return BuildCXXForRangeStmt(ForLoc, ColonLoc, RangeDecl.get(), in ActOnCXXForRangeStmt()
1999 SourceLocation ColonLoc, in BuildNonArrayForRange() argument
2005 &SemaRef.PP.getIdentifierTable().get("begin"), ColonLoc); in BuildNonArrayForRange()
2007 ColonLoc); in BuildNonArrayForRange()
[all …]
HDSemaOpenMP.cpp5132 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, in ActOnOpenMPVarListClause() argument
5151 Res = ActOnOpenMPReductionClause(VarList, StartLoc, LParenLoc, ColonLoc, in ActOnOpenMPVarListClause()
5156 ColonLoc, EndLoc); in ActOnOpenMPVarListClause()
5160 ColonLoc, EndLoc); in ActOnOpenMPVarListClause()
5172 Res = ActOnOpenMPDependClause(DepKind, DepLoc, ColonLoc, VarList, StartLoc, in ActOnOpenMPVarListClause()
5804 SourceLocation ColonLoc, SourceLocation EndLoc, in ActOnOpenMPReductionClause() argument
6222 Context, StartLoc, LParenLoc, ColonLoc, EndLoc, Vars, in ActOnOpenMPReductionClause()
6230 SourceLocation ColonLoc, in ActOnOpenMPLinearClause() argument
6374 return OMPLinearClause::Create(Context, StartLoc, LParenLoc, ColonLoc, EndLoc, in ActOnOpenMPLinearClause()
6432 SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc) { in ActOnOpenMPAlignedClause() argument
[all …]
HDSemaCXXScopeSpec.cpp843 SourceLocation ColonLoc, in IsInvalidUnlessNestedName() argument
849 return !BuildCXXNestedNameSpecifier(S, Identifier, IdentifierLoc, ColonLoc, in IsInvalidUnlessNestedName()
HDTreeTransform.h1111 SourceLocation ColonLoc) { in RebuildCaseStmt() argument
1113 ColonLoc); in RebuildCaseStmt()
1130 SourceLocation ColonLoc, in RebuildDefaultStmt() argument
1132 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1141 SourceLocation ColonLoc, Stmt *SubStmt) { in RebuildLabelStmt() argument
1142 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
1505 SourceLocation ColonLoc, in RebuildOMPReductionClause() argument
1510 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc, ReductionIdScopeSpec, in RebuildOMPReductionClause()
1521 SourceLocation ColonLoc, in RebuildOMPLinearClause() argument
1524 ColonLoc, EndLoc); in RebuildOMPLinearClause()
[all …]
HDSemaDeclCXX.cpp1854 SourceLocation ColonLoc, in ActOnAccessSpecifier() argument
1858 ASLoc, ColonLoc); in ActOnAccessSpecifier()
4219 SourceLocation ColonLoc, in ActOnMemInitializers() argument
4231 Diag(ColonLoc, diag::err_only_constructors_take_base_inits); in ActOnMemInitializers()
HDSemaExpr.cpp6479 SourceLocation ColonLoc, in ActOnConditionalOp() argument
6544 ConditionalOperator(Cond.get(), QuestionLoc, LHS.get(), ColonLoc, in ActOnConditionalOp()
6549 ColonLoc, result, VK, OK); in ActOnConditionalOp()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDStmt.cpp854 : Stmt(CXXForRangeStmtClass), ForLoc(FL), ColonLoc(CL), RParenLoc(RPL) { in CXXForRangeStmt()
1345 SourceLocation LParenLoc, SourceLocation ColonLoc, in Create() argument
1354 OMPLinearClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size()); in Create()
1380 SourceLocation LParenLoc, SourceLocation ColonLoc, in Create() argument
1386 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size()); in Create()
1545 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument
1553 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
1594 SourceLocation ColonLoc, ArrayRef<Expr *> VL) { in Create() argument
1603 Clause->setColonLoc(ColonLoc); in Create()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h3255 SourceLocation ColonLoc);
3259 SourceLocation ColonLoc,
3262 SourceLocation ColonLoc, Stmt *SubStmt);
3311 SourceLocation ColonLoc, Expr *Collection,
3315 SourceLocation ColonLoc,
3904 SourceLocation ColonLoc,
4823 SourceLocation ColonLoc,
5091 SourceLocation ColonLoc,
5209 SourceLocation ColonLoc,
7954 SourceLocation ColonLoc, SourceLocation EndLoc,
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/Parse/
HDParser.h1786 SourceLocation ColonLoc; member
1789 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); } in ParsedForRangeDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderStmt.cpp668 E->ColonLoc = ReadSourceLocation(Record, Idx); in VisitConditionalOperator()
680 E->ColonLoc = ReadSourceLocation(Record, Idx); in VisitBinaryConditionalOperator()
HDASTWriterDecl.cpp589 Writer.AddSourceLocation(D->ColonLoc, Record); in VisitObjCTypeParamDecl()
HDASTReaderDecl.cpp915 D->ColonLoc = ReadSourceLocation(Record, Idx); in VisitObjCTypeParamDecl()