| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 705 SourceLocation ColonLoc = ConsumeToken(); in ParseLabeledStatement() local 735 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement() 744 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement() 751 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc, in ParseLabeledStatement() 792 SourceLocation ColonLoc; in ParseCaseStatement() local 796 ColonLoc = SourceLocation(); in ParseCaseStatement() 837 if (TryConsumeToken(tok::colon, ColonLoc)) { in ParseCaseStatement() 838 } else if (TryConsumeToken(tok::semi, ColonLoc) || in ParseCaseStatement() 839 TryConsumeToken(tok::coloncolon, ColonLoc)) { in ParseCaseStatement() 841 Diag(ColonLoc, diag::err_expected_after) 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 | Parser.cpp | 2447 SourceLocation ColonLoc = ConsumeToken(); in ParseModuleDecl() local 2449 Diag(ColonLoc, diag::err_unsupported_module_partition) in ParseModuleDecl() 2450 << SourceRange(ColonLoc, Partition.back().second); in ParseModuleDecl() 2511 SourceLocation ColonLoc = ConsumeToken(); in ParseModuleImport() local 2513 Diag(ColonLoc, diag::err_unsupported_module_partition) in ParseModuleImport() 2514 << SourceRange(ColonLoc, Path.back().second); in ParseModuleImport() 2516 else if (ParseModuleName(ColonLoc, Path, /*IsImport*/ true)) in ParseModuleImport()
|
| H A D | ParseOpenMP.cpp | 4228 SourceLocation ColonLoc; in ParseOpenMPIteratorsExpr() local 4230 ColonLoc = ConsumeToken(); in ParseOpenMPIteratorsExpr() 4266 D.ColonLoc = ColonLoc; in ParseOpenMPIteratorsExpr() 4357 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4399 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4428 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4487 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4524 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4548 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList() 4574 Data.ColonLoc = Tok.getLocation(); in ParseOpenMPVarList() [all …]
|
| H A D | ParseExpr.cpp | 401 SourceLocation ColonLoc; in ParseRHSOfBinaryExpression() local 497 if (!TryConsumeToken(tok::colon, ColonLoc)) { in ParseRHSOfBinaryExpression() 523 ColonLoc = Tok.getLocation(); in ParseRHSOfBinaryExpression() 603 } else if (ColonLoc.isValid()) { in ParseRHSOfBinaryExpression() 604 Diag(ColonLoc, diag::err_init_list_bin_op) in ParseRHSOfBinaryExpression() 640 OpToken.getLocation(), ColonLoc, LHS.get(), TernaryMiddle.get(), in ParseRHSOfBinaryExpression()
|
| H A D | ParseDecl.cpp | 2172 if (TryConsumeToken(tok::colon, FRI->ColonLoc)) { in ParseDeclGroup() 2473 FRI->ColonLoc = EqualLoc; in ParseDeclarationAfterDeclaratorAndAttributes() 4815 SourceLocation ColonLoc = ConsumeToken(); in ParseEnumSpecifier() local 4830 BaseRange = SourceRange(ColonLoc, DeclaratorInfo.getSourceRange().getEnd()); in ParseEnumSpecifier() 4834 Diag(ColonLoc, diag::warn_cxx98_compat_enum_fixed_underlying_type) in ParseEnumSpecifier() 4837 Diag(ColonLoc, diag::ext_cxx11_enum_fixed_underlying_type) in ParseEnumSpecifier() 4840 Diag(ColonLoc, diag::ext_ms_c_enum_fixed_underlying_type) in ParseEnumSpecifier() 4843 Diag(ColonLoc, diag::ext_clang_c_enum_fixed_underlying_type) in ParseEnumSpecifier()
|
| H A D | ParseObjc.cpp | 1501 SourceLocation ColonLoc = Tok.getLocation(); in ParseObjCMethodDecl() local 1502 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) { in ParseObjCMethodDecl() 1505 Diag(ColonLoc, diag::note_force_empty_selector_name) << ArgInfo.Name; in ParseObjCMethodDecl()
|
| H A D | ParseDeclCXX.cpp | 3696 SourceLocation ColonLoc = ConsumeToken(); in ParseConstructorInitializer() local 3736 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, MemInitializers, in ParseConstructorInitializer()
|
| H A D | ParseExprCXX.cpp | 2123 assert((FRI->ColonLoc.isValid() || !DG) && in ParseCXXCondition()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 441 SourceLocation ColonLoc; variable 452 Expr *Allocator, SourceLocation ColonLoc, in OMPAllocateClause() argument 456 Allocator(Allocator), ColonLoc(ColonLoc) {} in OMPAllocateClause() 467 void setColonLoc(SourceLocation CL) { ColonLoc = CL; } in setColonLoc() 483 SourceLocation ColonLoc, 490 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 537 SourceLocation ColonLoc; variable 555 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } in setColonLoc() 573 SourceLocation ColonLoc, SourceLocation EndLoc) in OMPIfClause() argument 576 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 | 1569 SourceLocation ColonLoc; 1578 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) in SwitchCase() argument 1579 : Stmt(SC), ColonLoc(ColonLoc) { in SwitchCase() 1592 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 1593 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 | 4115 SourceLocation QuestionLoc, ColonLoc; variable 4122 : Expr(SC, T, VK, OK), QuestionLoc(qloc), ColonLoc(cloc) {} in AbstractConditionalOperator() 4142 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 512 SourceLocation ColonLoc) { in ActOnCaseStmt() argument 529 CaseLoc, DotDotDotLoc, ColonLoc); in ActOnCaseStmt() 540 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt() argument 547 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt() 554 SourceLocation ColonLoc, Stmt *SubStmt) { in ActOnLabelStmt() argument 2484 Stmt *First, SourceLocation ColonLoc, in ActOnCXXForRangeStmt() argument 2548 ForLoc, CoawaitLoc, InitStmt, ColonLoc, RangeDecl.get(), in ActOnCXXForRangeStmt() 2571 SourceLocation ColonLoc, SourceLocation CoawaitLoc, in BuildNonArrayForRange() argument 2575 &SemaRef.PP.getIdentifierTable().get("begin"), ColonLoc); in BuildNonArrayForRange() 2577 ColonLoc); in BuildNonArrayForRange() [all …]
|
| H A D | TreeTransform.h | 1321 SourceLocation ColonLoc) { in RebuildCaseStmt() argument 1323 ColonLoc); in RebuildCaseStmt() 1340 SourceLocation ColonLoc, in RebuildDefaultStmt() argument 1342 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt() 1351 SourceLocation ColonLoc, Stmt *SubStmt) { in RebuildLabelStmt() argument 1352 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt() 1644 SourceLocation ColonLoc, in RebuildOMPIfClause() argument 1647 LParenLoc, NameModifierLoc, ColonLoc, in RebuildOMPIfClause() 1816 SourceLocation ColonLoc, in RebuildOMPLastprivateClause() argument 1821 VarList, LPKind, LPKindLoc, ColonLoc, StartLoc, LParenLoc, EndLoc); in RebuildOMPLastprivateClause() [all …]
|
| H A D | SemaOpenMP.cpp | 16250 SourceLocation ColonLoc, in ActOnOpenMPIfClause() argument 16277 LParenLoc, NameModifierLoc, ColonLoc, EndLoc); in ActOnOpenMPIfClause() 17766 SourceLocation ColonLoc = Data.ColonLoc; in ActOnOpenMPVarListClause() local 17779 ExtraModifierLoc, ColonLoc, StartLoc, LParenLoc, EndLoc); in ActOnOpenMPVarListClause() 17789 StartLoc, LParenLoc, ExtraModifierLoc, ColonLoc, EndLoc, in ActOnOpenMPVarListClause() 17794 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc, in ActOnOpenMPVarListClause() 17799 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc, in ActOnOpenMPVarListClause() 17808 ColonLoc, EndLoc); in ActOnOpenMPVarListClause() 17812 LParenLoc, ColonLoc, EndLoc); in ActOnOpenMPVarListClause() 17828 ColonLoc, Data.OmpAllMemoryLoc}, in ActOnOpenMPVarListClause() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 515 SourceLocation ColonLoc, Stmt *PreInit, Expr *PostUpdate) { in Create() argument 518 StartLoc, LParenLoc, EndLoc, LPKind, LPKindLoc, ColonLoc, VL.size()); in Create() 585 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, in Create() argument 593 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size()); in Create() 629 SourceLocation LParenLoc, SourceLocation ColonLoc, in Create() argument 633 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size()); in Create() 790 SourceLocation ModifierLoc, SourceLocation EndLoc, SourceLocation ColonLoc, in Create() argument 800 OMPReductionClause(StartLoc, LParenLoc, ModifierLoc, EndLoc, ColonLoc, in Create() 863 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument 870 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 | 5006 SourceLocation ColonLoc, Expr *End, in setIteratorRange() argument 5021 ColonLoc; in setIteratorRange() 5090 setIteratorRange(I, D.Range.Begin, D.ColonLoc, D.Range.End, in OMPIteratorExpr()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 5062 SourceLocation ColonLoc); 5066 SourceLocation ColonLoc, 5069 SourceLocation ColonLoc, Stmt *SubStmt); 5128 SourceLocation ColonLoc, Expr *Collection, 5134 SourceLocation ColonLoc, 5755 SourceLocation ColonLoc; member 5934 SourceLocation ColonLoc, 7535 SourceLocation ColonLoc, 7670 SourceLocation ColonLoc, 11734 SourceLocation ColonLoc, [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 984 SourceLocation ColonLoc = readSourceLocation(); in VisitOMPIteratorExpr() local 988 E->setIteratorRange(I, Begin, ColonLoc, End, SecColonLoc, Step); in VisitOMPIteratorExpr() 1128 E->ColonLoc = readSourceLocation(); in VisitConditionalOperator() 1140 E->ColonLoc = readSourceLocation(); in VisitBinaryConditionalOperator() 1657 S->ColonLoc = readSourceLocation(); in VisitCXXForRangeStmt()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Parse/ |
| H A D | Parser.h | 2368 SourceLocation ColonLoc; member 2371 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); } in ParsedForRangeDecl()
|