| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 634 SourceLocation ColonLoc = ConsumeToken(); in ParseLabeledStatement() local 666 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement() 673 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc, in ParseLabeledStatement() 714 SourceLocation ColonLoc; in ParseCaseStatement() local 718 ColonLoc = SourceLocation(); in ParseCaseStatement() 759 if (TryConsumeToken(tok::colon, ColonLoc)) { in ParseCaseStatement() 760 } else if (TryConsumeToken(tok::semi, ColonLoc) || in ParseCaseStatement() 761 TryConsumeToken(tok::coloncolon, ColonLoc)) { in ParseCaseStatement() 763 Diag(ColonLoc, diag::err_expected_after) in ParseCaseStatement() 765 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement() [all …]
|
| H A D | ParseInit.cpp | 177 SourceLocation ColonLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local 180 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator() 187 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
|
| H A D | ParseOpenMP.cpp | 3662 SourceLocation ColonLoc; in ParseOpenMPIteratorsExpr() local 3664 ColonLoc = ConsumeToken(); in ParseOpenMPIteratorsExpr() 3700 D.ColonLoc = ColonLoc; in ParseOpenMPIteratorsExpr() 3763 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 3805 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 3834 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 3870 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 3908 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 3932 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 3987 Data.ColonLoc = Tok.getLocation(); in ParseOpenMPVarList() [all …]
|
| H A D | Parser.cpp | 2342 SourceLocation ColonLoc = ConsumeToken(); in ParseModuleDecl() local 2348 Diag(ColonLoc, diag::err_unsupported_module_partition) in ParseModuleDecl() 2349 << SourceRange(ColonLoc, Partition.back().second); in ParseModuleDecl() 2403 SourceLocation ColonLoc = ConsumeToken(); in ParseModuleImport() local 2408 Diag(ColonLoc, diag::err_unsupported_module_partition) in ParseModuleImport() 2409 << SourceRange(ColonLoc, Path.back().second); in ParseModuleImport()
|
| H A D | ParseExpr.cpp | 400 SourceLocation ColonLoc; in ParseRHSOfBinaryExpression() local 496 if (!TryConsumeToken(tok::colon, ColonLoc)) { in ParseRHSOfBinaryExpression() 522 ColonLoc = Tok.getLocation(); in ParseRHSOfBinaryExpression() 602 } else if (ColonLoc.isValid()) { in ParseRHSOfBinaryExpression() 603 Diag(ColonLoc, diag::err_init_list_bin_op) in ParseRHSOfBinaryExpression() 639 OpToken.getLocation(), ColonLoc, LHS.get(), TernaryMiddle.get(), in ParseRHSOfBinaryExpression()
|
| H A D | ParseDecl.cpp | 2061 if (TryConsumeToken(tok::colon, FRI->ColonLoc)) { in ParseDeclGroup() 2358 FRI->ColonLoc = EqualLoc; in ParseDeclarationAfterDeclaratorAndAttributes() 4554 SourceLocation ColonLoc = ConsumeToken(); in ParseEnumSpecifier() local 4565 BaseRange = SourceRange(ColonLoc, DeclaratorInfo.getSourceRange().getEnd()); in ParseEnumSpecifier() 4569 Diag(ColonLoc, diag::warn_cxx98_compat_enum_fixed_underlying_type) in ParseEnumSpecifier() 4572 Diag(ColonLoc, diag::ext_cxx11_enum_fixed_underlying_type) in ParseEnumSpecifier() 4575 Diag(ColonLoc, diag::ext_ms_c_enum_fixed_underlying_type) in ParseEnumSpecifier() 4578 Diag(ColonLoc, diag::ext_clang_c_enum_fixed_underlying_type) in ParseEnumSpecifier()
|
| H A D | ParseObjc.cpp | 1463 SourceLocation ColonLoc = Tok.getLocation(); in ParseObjCMethodDecl() local 1464 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) { in ParseObjCMethodDecl() 1467 Diag(ColonLoc, diag::note_force_empty_selector_name) << ArgInfo.Name; in ParseObjCMethodDecl()
|
| H A D | ParseDeclCXX.cpp | 3499 SourceLocation ColonLoc = ConsumeToken(); in ParseConstructorInitializer() local 3539 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, MemInitializers, in ParseConstructorInitializer()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 343 SourceLocation ColonLoc; variable 354 Expr *Allocator, SourceLocation ColonLoc, in OMPAllocateClause() argument 358 Allocator(Allocator), ColonLoc(ColonLoc) {} in OMPAllocateClause() 369 void setColonLoc(SourceLocation CL) { ColonLoc = CL; } in setColonLoc() 385 SourceLocation ColonLoc, 392 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 439 SourceLocation ColonLoc; variable 457 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } in setColonLoc() 475 SourceLocation ColonLoc, SourceLocation EndLoc) in OMPIfClause() argument 478 ColonLoc(ColonLoc), NameModifier(NameModifier), in OMPIfClause() [all …]
|
| H A D | ExprOpenMP.h | 288 SourceLocation ColonLoc, SecondColonLoc; member 338 void setIteratorRange(unsigned I, Expr *Begin, SourceLocation ColonLoc,
|
| H A D | StmtCXX.h | 141 SourceLocation ColonLoc; variable 203 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 | 1524 SourceLocation ColonLoc; 1533 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) in SwitchCase() argument 1534 : Stmt(SC), ColonLoc(ColonLoc) { in SwitchCase() 1547 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 1548 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc()
|
| H A D | DeclObjC.h | 591 SourceLocation ColonLoc; variable 601 VarianceLoc(varianceLoc), ColonLoc(colonLoc) {} in ObjCTypeParamDecl() 639 bool hasExplicitBound() const { return ColonLoc.isValid(); } in hasExplicitBound() 643 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
|
| H A D | Expr.h | 4030 SourceLocation QuestionLoc, ColonLoc; variable 4037 : Expr(SC, T, VK, OK), QuestionLoc(qloc), ColonLoc(cloc) {} in AbstractConditionalOperator() 4057 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 495 SourceLocation ColonLoc) { in ActOnCaseStmt() argument 512 CaseLoc, DotDotDotLoc, ColonLoc); in ActOnCaseStmt() 523 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt() argument 530 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt() 537 SourceLocation ColonLoc, Stmt *SubStmt) { in ActOnLabelStmt() argument 2437 Stmt *First, SourceLocation ColonLoc, in ActOnCXXForRangeStmt() argument 2500 ForLoc, CoawaitLoc, InitStmt, ColonLoc, RangeDecl.get(), in ActOnCXXForRangeStmt() 2523 SourceLocation ColonLoc, SourceLocation CoawaitLoc, in BuildNonArrayForRange() argument 2527 &SemaRef.PP.getIdentifierTable().get("begin"), ColonLoc); in BuildNonArrayForRange() 2529 ColonLoc); in BuildNonArrayForRange() [all …]
|
| H A D | TreeTransform.h | 1275 SourceLocation ColonLoc) { in RebuildCaseStmt() argument 1277 ColonLoc); in RebuildCaseStmt() 1294 SourceLocation ColonLoc, in RebuildDefaultStmt() argument 1296 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt() 1305 SourceLocation ColonLoc, Stmt *SubStmt) { in RebuildLabelStmt() argument 1306 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt() 1579 SourceLocation ColonLoc, in RebuildOMPIfClause() argument 1582 LParenLoc, NameModifierLoc, ColonLoc, in RebuildOMPIfClause() 1737 SourceLocation ColonLoc, in RebuildOMPLastprivateClause() argument 1742 VarList, LPKind, LPKindLoc, ColonLoc, StartLoc, LParenLoc, EndLoc); in RebuildOMPLastprivateClause() [all …]
|
| H A D | SemaOpenMP.cpp | 13703 SourceLocation ColonLoc, in ActOnOpenMPIfClause() argument 13730 LParenLoc, NameModifierLoc, ColonLoc, EndLoc); in ActOnOpenMPIfClause() 15022 const OMPVarListLocTy &Locs, SourceLocation ColonLoc, in ActOnOpenMPVarListClause() argument 15046 ExtraModifierLoc, ColonLoc, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPVarListClause() 15056 StartLoc, LParenLoc, ExtraModifierLoc, ColonLoc, EndLoc, in ActOnOpenMPVarListClause() 15060 Res = ActOnOpenMPTaskReductionClause(VarList, StartLoc, LParenLoc, ColonLoc, in ActOnOpenMPVarListClause() 15065 Res = ActOnOpenMPInReductionClause(VarList, StartLoc, LParenLoc, ColonLoc, in ActOnOpenMPVarListClause() 15075 ColonLoc, EndLoc); in ActOnOpenMPVarListClause() 15079 LParenLoc, ColonLoc, EndLoc); in ActOnOpenMPVarListClause() 15095 ExtraModifierLoc, ColonLoc, VarList, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPVarListClause() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 498 SourceLocation ColonLoc, Stmt *PreInit, Expr *PostUpdate) { in Create() argument 501 StartLoc, LParenLoc, EndLoc, LPKind, LPKindLoc, ColonLoc, VL.size()); in Create() 568 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, in Create() argument 576 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size()); in Create() 612 SourceLocation LParenLoc, SourceLocation ColonLoc, in Create() argument 616 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size()); in Create() 766 SourceLocation ModifierLoc, SourceLocation EndLoc, SourceLocation ColonLoc, in Create() argument 776 OMPReductionClause(StartLoc, LParenLoc, ModifierLoc, EndLoc, ColonLoc, in Create() 839 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument 846 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create() [all …]
|
| H A D | StmtCXX.cpp | 53 : Stmt(CXXForRangeStmtClass), ForLoc(FL), CoawaitLoc(CAL), ColonLoc(CL), in CXXForRangeStmt()
|
| H A D | Expr.cpp | 4809 SourceLocation ColonLoc, Expr *End, in setIteratorRange() argument 4824 ColonLoc; in setIteratorRange() 4893 setIteratorRange(I, D.Range.Begin, D.ColonLoc, D.Range.End, in OMPIteratorExpr()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Sema.h | 4647 SourceLocation ColonLoc); 4651 SourceLocation ColonLoc, 4654 SourceLocation ColonLoc, Stmt *SubStmt); 4712 SourceLocation ColonLoc, Expr *Collection, 4718 SourceLocation ColonLoc, 5282 SourceLocation ColonLoc; member 5459 SourceLocation ColonLoc, 6922 SourceLocation ColonLoc, 7056 SourceLocation ColonLoc, 10836 SourceLocation ColonLoc, [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 983 SourceLocation ColonLoc = readSourceLocation(); in VisitOMPIteratorExpr() local 987 E->setIteratorRange(I, Begin, ColonLoc, End, SecColonLoc, Step); in VisitOMPIteratorExpr() 1127 E->ColonLoc = readSourceLocation(); in VisitConditionalOperator() 1139 E->ColonLoc = readSourceLocation(); in VisitBinaryConditionalOperator() 1656 S->ColonLoc = readSourceLocation(); in VisitCXXForRangeStmt()
|
| H A D | ASTWriterDecl.cpp | 734 Record.AddSourceLocation(D->ColonLoc); in VisitObjCTypeParamDecl()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/ |
| H A D | Parser.h | 2291 SourceLocation ColonLoc; member 2294 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); } in ParsedForRangeDecl() 3332 SourceLocation ColonLoc; member
|