Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp639 SourceLocation ColonLoc = ConsumeToken(); in ParseLabeledStatement() local
671 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement()
719 SourceLocation ColonLoc; in ParseCaseStatement() local
723 ColonLoc = SourceLocation(); in ParseCaseStatement()
768 Diag(ColonLoc, diag::err_expected_after) in ParseCaseStatement()
776 ColonLoc = ExpectedLoc; in ParseCaseStatement()
811 if (ColonLoc.isValid()) { in ParseCaseStatement()
845 SourceLocation ColonLoc; in ParseDefaultStatement() local
849 Diag(ColonLoc, diag::err_expected_after) in ParseDefaultStatement()
857 ColonLoc = ExpectedLoc; in ParseDefaultStatement()
[all …]
H A DParseInit.cpp177 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 DParseOpenMP.cpp3671 SourceLocation ColonLoc; in ParseOpenMPIteratorsExpr() local
3673 ColonLoc = ConsumeToken(); in ParseOpenMPIteratorsExpr()
3709 D.ColonLoc = ColonLoc; in ParseOpenMPIteratorsExpr()
3772 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList()
3814 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList()
3843 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList()
3879 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList()
3917 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList()
3941 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList()
3996 Data.ColonLoc = Tok.getLocation(); in ParseOpenMPVarList()
[all …]
H A DParser.cpp2345 SourceLocation ColonLoc = ConsumeToken(); in ParseModuleDecl() local
2351 Diag(ColonLoc, diag::err_unsupported_module_partition) in ParseModuleDecl()
2352 << SourceRange(ColonLoc, Partition.back().second); in ParseModuleDecl()
2406 SourceLocation ColonLoc = ConsumeToken(); in ParseModuleImport() local
2411 Diag(ColonLoc, diag::err_unsupported_module_partition) in ParseModuleImport()
2412 << SourceRange(ColonLoc, Path.back().second); in ParseModuleImport()
H A DParseExpr.cpp400 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 DParseDecl.cpp2068 if (TryConsumeToken(tok::colon, FRI->ColonLoc)) { in ParseDeclGroup()
2365 FRI->ColonLoc = EqualLoc; in ParseDeclarationAfterDeclaratorAndAttributes()
4567 SourceLocation ColonLoc = ConsumeToken(); in ParseEnumSpecifier() local
4578 BaseRange = SourceRange(ColonLoc, DeclaratorInfo.getSourceRange().getEnd()); in ParseEnumSpecifier()
4582 Diag(ColonLoc, diag::warn_cxx98_compat_enum_fixed_underlying_type) in ParseEnumSpecifier()
4585 Diag(ColonLoc, diag::ext_cxx11_enum_fixed_underlying_type) in ParseEnumSpecifier()
4588 Diag(ColonLoc, diag::ext_ms_c_enum_fixed_underlying_type) in ParseEnumSpecifier()
4591 Diag(ColonLoc, diag::ext_clang_c_enum_fixed_underlying_type) in ParseEnumSpecifier()
H A DParseObjc.cpp1463 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 DParseDeclCXX.cpp3590 SourceLocation ColonLoc = ConsumeToken(); in ParseConstructorInitializer() local
3630 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, MemInitializers, in ParseConstructorInitializer()
H A DParseExprCXX.cpp2036 assert((FRI->ColonLoc.isValid() || !DG) && in ParseCXXCondition()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h343 SourceLocation ColonLoc; variable
358 Allocator(Allocator), ColonLoc(ColonLoc) {} in OMPAllocateClause()
439 SourceLocation ColonLoc; variable
478 ColonLoc(ColonLoc), NameModifier(NameModifier), in OMPIfClause()
2640 SourceLocation ColonLoc; variable
2655 ColonLoc(ColonLoc) {} in OMPLastprivateClause()
2964 ModifierLoc(ModifierLoc), ColonLoc(ColonLoc), in OMPReductionClause()
3290 OMPClauseWithPostUpdate(this), ColonLoc(ColonLoc), in OMPTaskReductionClause()
3521 OMPClauseWithPostUpdate(this), ColonLoc(ColonLoc), in OMPInReductionClause()
3782 ModifierLoc(ModifierLoc), ColonLoc(ColonLoc) {} in OMPLinearClause()
[all …]
H A DExprOpenMP.h288 SourceLocation ColonLoc, SecondColonLoc; member
338 void setIteratorRange(unsigned I, Expr *Begin, SourceLocation ColonLoc,
H A DStmtCXX.h141 SourceLocation ColonLoc; variable
203 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
H A DDeclCXX.h89 SourceLocation ColonLoc; variable
92 SourceLocation ASLoc, SourceLocation ColonLoc) in AccessSpecDecl() argument
93 : Decl(AccessSpec, DC, ASLoc), ColonLoc(ColonLoc) { in AccessSpecDecl()
109 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
112 void setColonLoc(SourceLocation CLoc) { ColonLoc = CLoc; } in setColonLoc()
120 SourceLocation ColonLoc) { in Create() argument
121 return new (C, DC) AccessSpecDecl(AS, DC, ASLoc, ColonLoc); in Create()
H A DStmt.h1524 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 DDeclObjC.h591 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 DExpr.h4097 SourceLocation QuestionLoc, ColonLoc; variable
4104 : Expr(SC, T, VK, OK), QuestionLoc(qloc), ColonLoc(cloc) {} in AbstractConditionalOperator()
4124 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp495 SourceLocation ColonLoc) { in ActOnCaseStmt() argument
2530 ColonLoc); in BuildNonArrayForRange()
2539 SemaRef.BuildForRangeBeginEndCall(ColonLoc, ColonLoc, BeginNameInfo, in BuildNonArrayForRange()
2569 SemaRef.BuildForRangeBeginEndCall(ColonLoc, ColonLoc, EndNameInfo, in BuildNonArrayForRange()
2575 << ColonLoc << BEF_end << EndRange->getType(); in BuildNonArrayForRange()
2928 ActOnDeclStmt(ConvertDeclToDeclGroup(BeginVar), ColonLoc, ColonLoc); in BuildCXXForRangeStmt()
2930 ActOnDeclStmt(ConvertDeclToDeclGroup(EndVar), ColonLoc, ColonLoc); in BuildCXXForRangeStmt()
2944 NotEqExpr = ActOnBinOp(S, ColonLoc, tok::exclaimequal, in BuildCXXForRangeStmt()
2962 VK_LValue, ColonLoc); in BuildCXXForRangeStmt()
2983 VK_LValue, ColonLoc); in BuildCXXForRangeStmt()
[all …]
H A DTreeTransform.h1275 SourceLocation ColonLoc) { in RebuildCaseStmt() argument
1277 ColonLoc); in RebuildCaseStmt()
1294 SourceLocation ColonLoc, in RebuildDefaultStmt() argument
1579 SourceLocation ColonLoc, in RebuildOMPIfClause() argument
1778 SourceLocation ModifierLoc, SourceLocation ColonLoc, in RebuildOMPReductionClause() argument
1827 SourceLocation ColonLoc, in RebuildOMPLinearClause() argument
1841 SourceLocation ColonLoc, in RebuildOMPAlignedClause() argument
1945 SourceLocation ColonLoc, in RebuildOMPAllocateClause() argument
2069 ColonLoc, VarList, Locs, UnresolvedMappers); in RebuildOMPFromClause()
2167 SourceLocation ColonLoc, in RebuildOMPAffinityClause() argument
[all …]
H A DSemaOpenMP.cpp14041 SourceLocation ColonLoc, in ActOnOpenMPIfClause() argument
15405 const OMPVarListLocTy &Locs, SourceLocation ColonLoc, in ActOnOpenMPVarListClause() argument
15458 ColonLoc, EndLoc); in ActOnOpenMPVarListClause()
15491 ColonLoc, VarList, Locs); in ActOnOpenMPVarListClause()
16719 SourceLocation ColonLoc, SourceLocation EndLoc, in actOnOMPReductionKindClause() argument
17475 SourceLocation ColonLoc, SourceLocation EndLoc, in ActOnOpenMPTaskReductionClause() argument
17495 SourceLocation ColonLoc, SourceLocation EndLoc, in ActOnOpenMPInReductionClause() argument
19613 SourceLocation ColonLoc, ArrayRef<Expr *> VarList, in ActOnOpenMPMapClause() argument
20602 SourceLocation ColonLoc, ArrayRef<Expr *> VarList, in ActOnOpenMPToClause() argument
20639 SourceLocation ColonLoc, ArrayRef<Expr *> VarList, in ActOnOpenMPFromClause() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp498 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
612 SourceLocation LParenLoc, SourceLocation ColonLoc, in Create() argument
616 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size()); in Create()
839 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument
901 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument
978 SourceLocation ColonLoc, SourceLocation EndLoc, in Create() argument
983 ColonLoc, EndLoc, VL.size()); in Create()
1029 SourceLocation DepLoc, SourceLocation ColonLoc, in Create() argument
[all …]
H A DStmtCXX.cpp53 : Stmt(CXXForRangeStmtClass), ForLoc(FL), CoawaitLoc(CAL), ColonLoc(CL), in CXXForRangeStmt()
H A DExpr.cpp4880 SourceLocation ColonLoc, Expr *End, in setIteratorRange() argument
4895 ColonLoc; in setIteratorRange()
4964 setIteratorRange(I, D.Range.Begin, D.ColonLoc, D.Range.End, in OMPIteratorExpr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4678 SourceLocation ColonLoc);
4682 SourceLocation ColonLoc,
4749 SourceLocation ColonLoc,
5331 SourceLocation ColonLoc; member
5510 SourceLocation ColonLoc,
6992 SourceLocation ColonLoc,
7126 SourceLocation ColonLoc,
10930 SourceLocation ColonLoc,
11135 const OMPVarListLocTy &Locs, SourceLocation ColonLoc,
11171 SourceLocation LPKindLoc, SourceLocation ColonLoc,
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp993 SourceLocation ColonLoc = readSourceLocation(); in VisitOMPIteratorExpr() local
997 E->setIteratorRange(I, Begin, ColonLoc, End, SecColonLoc, Step); in VisitOMPIteratorExpr()
1137 E->ColonLoc = readSourceLocation(); in VisitConditionalOperator()
1149 E->ColonLoc = readSourceLocation(); in VisitBinaryConditionalOperator()
1666 S->ColonLoc = readSourceLocation(); in VisitCXXForRangeStmt()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h2293 SourceLocation ColonLoc; member
2296 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); } in ParsedForRangeDecl()
3361 SourceLocation ColonLoc; member

12