| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 697 SourceLocation ColonLoc = ConsumeToken(); in ParseLabeledStatement() local 727 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement() 736 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement() 745 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc, in ParseLabeledStatement() 782 SourceLocation ColonLoc; in ParseCaseStatement() local 786 ColonLoc = SourceLocation(); in ParseCaseStatement() 835 if (TryConsumeToken(tok::colon, ColonLoc)) { in ParseCaseStatement() 836 } else if (TryConsumeToken(tok::semi, ColonLoc) || in ParseCaseStatement() 837 TryConsumeToken(tok::coloncolon, ColonLoc)) { in ParseCaseStatement() 839 Diag(ColonLoc, diag::err_expected_after) in ParseCaseStatement() [all …]
|
| H A D | ParseInit.cpp | 132 SourceLocation ColonLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local 135 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator() 143 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
|
| H A D | Parser.cpp | 2402 SourceLocation ColonLoc = ConsumeToken(); in ParseModuleDecl() local 2404 Diag(ColonLoc, diag::err_unsupported_module_partition) in ParseModuleDecl() 2405 << SourceRange(ColonLoc, Partition.back().getLoc()); in ParseModuleDecl() 2453 SourceLocation ColonLoc = ConsumeToken(); in ParseModuleImport() local 2455 Diag(ColonLoc, diag::err_unsupported_module_partition) in ParseModuleImport() 2456 << SourceRange(ColonLoc, Path.back().getLoc()); in ParseModuleImport() 2458 else if (ParseModuleName(ColonLoc, Path, /*IsImport*/ true)) in ParseModuleImport()
|
| H A D | ParseOpenMP.cpp | 4209 SourceLocation ColonLoc; in ParseOpenMPIteratorsExpr() local 4211 ColonLoc = ConsumeToken(); in ParseOpenMPIteratorsExpr() 4245 D.ColonLoc = ColonLoc; in ParseOpenMPIteratorsExpr() 4471 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4516 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4594 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4655 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4692 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4716 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4748 Data.ColonLoc = Tok.getLocation(); in ParseOpenMPVarList() [all …]
|
| H A D | ParseExpr.cpp | 320 SourceLocation ColonLoc; in ParseRHSOfBinaryExpression() local 411 if (!TryConsumeToken(tok::colon, ColonLoc)) { in ParseRHSOfBinaryExpression() 437 ColonLoc = Tok.getLocation(); in ParseRHSOfBinaryExpression() 507 } else if (ColonLoc.isValid()) { in ParseRHSOfBinaryExpression() 508 Diag(ColonLoc, diag::err_init_list_bin_op) in ParseRHSOfBinaryExpression() 543 OpToken.getLocation(), ColonLoc, LHS.get(), TernaryMiddle.get(), in ParseRHSOfBinaryExpression()
|
| H A D | ParseDecl.cpp | 2305 if (TryConsumeToken(tok::colon, FRI->ColonLoc)) { in ParseDeclGroup() 2622 FRI->ColonLoc = EqualLoc; in ParseDeclarationAfterDeclaratorAndAttributes() 5120 SourceLocation ColonLoc = ConsumeToken(); in ParseEnumSpecifier() local 5135 BaseRange = SourceRange(ColonLoc, DeclaratorInfo.getSourceRange().getEnd()); in ParseEnumSpecifier() 5139 DiagCompat(ColonLoc, diag_compat::enum_fixed_underlying_type) in ParseEnumSpecifier() 5142 Diag(ColonLoc, diag::ext_ms_c_enum_fixed_underlying_type) in ParseEnumSpecifier() 5145 Diag(ColonLoc, getLangOpts().C23 in ParseEnumSpecifier()
|
| H A D | ParseObjc.cpp | 1288 SourceLocation ColonLoc = Tok.getLocation(); in ParseObjCMethodDecl() local 1289 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) { in ParseObjCMethodDecl() 1292 Diag(ColonLoc, diag::note_force_empty_selector_name) << ArgInfo.Name; in ParseObjCMethodDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 499 SourceLocation ColonLoc; variable 549 Expr *Allocator, Expr *Alignment, SourceLocation ColonLoc, in OMPAllocateClause() argument 557 Allocator(Allocator), Alignment(Alignment), ColonLoc(ColonLoc) { in OMPAllocateClause() 576 void setColonLoc(SourceLocation CL) { ColonLoc = CL; } in setColonLoc() 598 Expr *Allocator, Expr *Alignment, SourceLocation ColonLoc, 635 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 686 SourceLocation ColonLoc; variable 704 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } in setColonLoc() 722 SourceLocation ColonLoc, SourceLocation EndLoc) in OMPIfClause() argument 725 ColonLoc(ColonLoc), NameModifier(NameModifier), in OMPIfClause() [all …]
|
| H A D | ExprOpenMP.h | 164 SourceLocation ColonLoc, SecondColonLoc; member 214 void setIteratorRange(unsigned I, Expr *Begin, SourceLocation ColonLoc,
|
| H A D | StmtCXX.h | 142 SourceLocation ColonLoc; variable 204 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
|
| H A D | DeclCXX.h | 88 SourceLocation ColonLoc; variable 91 SourceLocation ASLoc, SourceLocation ColonLoc) in AccessSpecDecl() argument 92 : Decl(AccessSpec, DC, ASLoc), ColonLoc(ColonLoc) { in AccessSpecDecl() 108 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 111 void setColonLoc(SourceLocation CLoc) { ColonLoc = CLoc; } in setColonLoc() 119 SourceLocation ColonLoc) { in Create() argument 120 return new (C, DC) AccessSpecDecl(AS, DC, ASLoc, ColonLoc); in Create()
|
| H A D | Stmt.h | 1887 SourceLocation ColonLoc; 1896 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) 1897 : Stmt(SC), ColonLoc(ColonLoc) { 1910 SourceLocation getColonLoc() const { return ColonLoc; } 1911 void setColonLoc(SourceLocation L) { ColonLoc = L; }
|
| H A D | DeclObjC.h | 591 SourceLocation ColonLoc; variable 601 VarianceLoc(varianceLoc), ColonLoc(colonLoc) {} in ObjCTypeParamDecl() 640 bool hasExplicitBound() const { return ColonLoc.isValid(); } in hasExplicitBound() 644 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
|
| H A D | Expr.h | 4282 SourceLocation QuestionLoc, ColonLoc; variable 4289 : Expr(SC, T, VK, OK), QuestionLoc(qloc), ColonLoc(cloc) {} in AbstractConditionalOperator() 4309 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 7125 ExprValueKind VK, ExprObjectKind OK, SourceLocation ColonLoc, in ArraySectionExpr() argument 7128 ColonLocFirst(ColonLoc), RBracketLoc(RBracketLoc) { in ArraySectionExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 544 SourceLocation ColonLoc) { in ActOnCaseStmt() argument 568 CaseLoc, DotDotDotLoc, ColonLoc); in ActOnCaseStmt() 578 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt() argument 592 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt() 599 SourceLocation ColonLoc, Stmt *SubStmt) { in ActOnLabelStmt() argument 2443 Stmt *First, SourceLocation ColonLoc, Expr *Range, SourceLocation RParenLoc, in ActOnCXXForRangeStmt() argument 2507 ForLoc, CoawaitLoc, InitStmt, ColonLoc, RangeDecl.get(), in ActOnCXXForRangeStmt() 2531 SourceLocation ColonLoc, SourceLocation CoawaitLoc, in BuildNonArrayForRange() argument 2535 &SemaRef.PP.getIdentifierTable().get("begin"), ColonLoc); in BuildNonArrayForRange() 2537 ColonLoc); in BuildNonArrayForRange() [all …]
|
| H A D | TreeTransform.h | 1359 SourceLocation ColonLoc) { in RebuildCaseStmt() argument 1361 ColonLoc); in RebuildCaseStmt() 1378 SourceLocation ColonLoc, in RebuildDefaultStmt() argument 1380 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt() 1389 SourceLocation ColonLoc, Stmt *SubStmt) { in RebuildLabelStmt() argument 1390 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt() 1695 SourceLocation ColonLoc, in RebuildOMPIfClause() argument 1698 NameModifier, Condition, StartLoc, LParenLoc, NameModifierLoc, ColonLoc, in RebuildOMPIfClause() 1883 SourceLocation ColonLoc, in RebuildOMPLastprivateClause() argument 1888 VarList, LPKind, LPKindLoc, ColonLoc, StartLoc, LParenLoc, EndLoc); in RebuildOMPLastprivateClause() [all …]
|
| H A D | SemaOpenMP.cpp | 15763 SourceLocation ColonLoc, SourceLocation EndLoc) { in ActOnOpenMPIfClause() argument 15790 LParenLoc, NameModifierLoc, ColonLoc, EndLoc); in ActOnOpenMPIfClause() 17487 SourceLocation ColonLoc = Data.ColonLoc; in ActOnOpenMPVarListClause() local 17500 ExtraModifierLoc, ColonLoc, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPVarListClause() 17512 StartLoc, LParenLoc, ExtraModifierLoc, ColonLoc, EndLoc, in ActOnOpenMPVarListClause() 17517 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc, in ActOnOpenMPVarListClause() 17522 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc, in ActOnOpenMPVarListClause() 17531 ColonLoc, Data.StepModifierLoc, EndLoc); in ActOnOpenMPVarListClause() 17535 LParenLoc, ColonLoc, EndLoc); in ActOnOpenMPVarListClause() 17551 ColonLoc, Data.OmpAllMemoryLoc}, in ActOnOpenMPVarListClause() [all …]
|
| H A D | SemaOpenACC.cpp | 721 SourceLocation ColonLoc, in ActOnArraySectionExpr() argument 822 SourceLocation DiagLoc = ColonLoc.isInvalid() ? LBLoc : ColonLoc; in ActOnArraySectionExpr() 930 OK_Ordinary, ColonLoc, RBLoc); in ActOnArraySectionExpr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaOpenMP.h | 873 SourceLocation ColonLoc, 1144 SourceLocation ColonLoc; member 1200 SourceLocation ColonLoc, SourceLocation LParenLoc, 1215 SourceLocation LPKindLoc, SourceLocation ColonLoc, 1227 SourceLocation ModifierLoc, SourceLocation ColonLoc, 1234 SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, 1241 SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, 1249 SourceLocation LinLoc, SourceLocation ColonLoc, 1255 SourceLocation ColonLoc, 1295 SourceLocation MapLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VarList, [all …]
|
| H A D | Sema.h | 5709 SourceLocation ColonLoc, 5848 void ActOnMemInitializers(Decl *ConstructorDecl, SourceLocation ColonLoc, 7481 SourceLocation ColonLoc, Expr *CondExpr, 10906 SourceLocation ColonLoc); 10912 SourceLocation ColonLoc, Stmt *SubStmt, 10915 SourceLocation ColonLoc, Stmt *SubStmt); 11000 Stmt *InitStmt, Stmt *LoopVar, SourceLocation ColonLoc, Expr *Collection, 11007 SourceLocation ColonLoc, Stmt *RangeDecl, Stmt *Begin, Stmt *End,
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 518 SourceLocation ColonLoc, Stmt *PreInit, Expr *PostUpdate) { in Create() argument 521 StartLoc, LParenLoc, EndLoc, LPKind, LPKindLoc, ColonLoc, VL.size()); in Create() 588 SourceLocation ColonLoc, SourceLocation StepModifierLoc, in Create() argument 598 ColonLoc, StepModifierLoc, EndLoc, VL.size()); in Create() 634 SourceLocation LParenLoc, SourceLocation ColonLoc, in Create() argument 638 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size()); in Create() 793 SourceLocation ModifierLoc, SourceLocation EndLoc, SourceLocation ColonLoc, in Create() argument 805 StartLoc, LParenLoc, ModifierLoc, EndLoc, ColonLoc, Modifier, in Create() 869 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument 876 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create() [all …]
|
| H A D | StmtCXX.cpp | 54 : Stmt(CXXForRangeStmtClass), ForLoc(FL), CoawaitLoc(CAL), ColonLoc(CL), in CXXForRangeStmt()
|
| H A D | Expr.cpp | 5297 SourceLocation ColonLoc, Expr *End, in setIteratorRange() argument 5312 ColonLoc; in setIteratorRange() 5381 setIteratorRange(I, D.Range.Begin, D.ColonLoc, D.Range.End, in OMPIteratorExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1011 SourceLocation ColonLoc = readSourceLocation(); in VisitOMPIteratorExpr() local 1015 E->setIteratorRange(I, Begin, ColonLoc, End, SecColonLoc, Step); in VisitOMPIteratorExpr() 1165 E->ColonLoc = readSourceLocation(); in VisitConditionalOperator() 1177 E->ColonLoc = readSourceLocation(); in VisitBinaryConditionalOperator() 1712 S->ColonLoc = readSourceLocation(); in VisitCXXForRangeStmt()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 1705 SourceLocation ColonLoc; member 1708 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); } in ParsedForRangeDecl()
|