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

12

/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DExprOpenMP.h48 SourceLocation ColonLoc; member in class:clang::OMPArraySectionExpr
54 SourceLocation ColonLoc, SourceLocation RBracketLoc)
69 ColonLoc(ColonLoc), RBracketLoc(RBracketLoc) {
109 SourceLocation getColonLoc() const { return ColonLoc; }
110 void setColonLoc(SourceLocation L) { ColonLoc = L; }
52 OMPArraySectionExpr(Expr *Base, Expr *LowerBound, Expr *Length, QualType Type, ExprValueKind VK, ExprObjectKind OK, SourceLocation ColonLoc, SourceLocation RBracketLoc) argument
H A DOpenMPClause.h159 SourceLocation ColonLoc; member in class:clang::OMPIfClause
176 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; }
186 /// \param ColonLoc [OpenMP 4.1] Location of ':'.
191 SourceLocation NameModifierLoc, SourceLocation ColonLoc,
194 Condition(Cond), ColonLoc(ColonLoc), NameModifier(NameModifier),
201 Condition(nullptr), ColonLoc(), NameModifier(OMPD_unknown),
210 SourceLocation getColonLoc() const { return ColonLoc; }
1635 SourceLocation ColonLoc; member in class:clang::final
1646 /// \param ColonLoc Locatio
189 OMPIfClause(OpenMPDirectiveKind NameModifier, Expr *Cond, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation NameModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1651 OMPReductionClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned N, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo) argument
1845 SourceLocation ColonLoc; member in class:clang::final
1861 OMPLinearClause(SourceLocation StartLoc, SourceLocation LParenLoc, OpenMPLinearClauseKind Modifier, SourceLocation ModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned NumVars) argument
2065 SourceLocation ColonLoc; member in class:clang::final
2078 OMPAlignedClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned NumVars) argument
2537 SourceLocation ColonLoc; member in class:clang::final
2747 SourceLocation ColonLoc; member in class:clang::final
[all...]
H A DDeclCXX.h104 SourceLocation ColonLoc; member in class:clang::AccessSpecDecl
107 SourceLocation ASLoc, SourceLocation ColonLoc)
108 : Decl(AccessSpec, DC, ASLoc), ColonLoc(ColonLoc) {
120 SourceLocation getColonLoc() const { return ColonLoc; }
122 void setColonLoc(SourceLocation CLoc) { ColonLoc = CLoc; }
130 SourceLocation ColonLoc) {
131 return new (C, DC) AccessSpecDecl(AS, DC, ASLoc, ColonLoc);
106 AccessSpecDecl(AccessSpecifier AS, DeclContext *DC, SourceLocation ASLoc, SourceLocation ColonLoc) argument
128 Create(ASTContext &C, AccessSpecifier AS, DeclContext *DC, SourceLocation ASLoc, SourceLocation ColonLoc) argument
H A DStmtCXX.h135 SourceLocation ColonLoc; member in class:clang::CXXForRangeStmt
190 SourceLocation getColonLoc() const { return ColonLoc; }
H A DStmt.h642 SourceLocation ColonLoc; member in class:clang::SwitchCase
644 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) argument
645 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {
660 SourceLocation getColonLoc() const { return ColonLoc; }
661 void setColonLoc(SourceLocation L) { ColonLoc = L; }
699 SourceLocation getColonLoc() const { return ColonLoc; }
700 void setColonLoc(SourceLocation L) { ColonLoc = L; }
754 SourceLocation getColonLoc() const { return ColonLoc; }
755 void setColonLoc(SourceLocation L) { ColonLoc
[all...]
H A DDeclObjC.h551 SourceLocation ColonLoc; member in class:clang::ObjCTypeParamDecl
561 VarianceLoc(varianceLoc), ColonLoc(colonLoc) { }
594 bool hasExplicitBound() const { return ColonLoc.isValid(); }
598 SourceLocation getColonLoc() const { return ColonLoc; }
H A DExpr.h3107 SourceLocation QuestionLoc, ColonLoc; member in class:clang::StringLiteral::final::CallExpr::AbstractConditionalOperator
3118 QuestionLoc(qloc), ColonLoc(cloc) {}
3138 SourceLocation getColonLoc() const { return ColonLoc; }
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp572 SourceLocation ColonLoc = ConsumeToken(); local
612 SubStmt = Actions.ActOnNullStmt(ColonLoc);
621 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc,
657 SourceLocation ColonLoc; local
661 ColonLoc = SourceLocation();
686 TryConsumeToken(tok::colon, ColonLoc);
704 TryConsumeToken(tok::colon, ColonLoc);
713 if (TryConsumeToken(tok::colon, ColonLoc)) {
714 } else if (TryConsumeToken(tok::semi, ColonLoc) ||
715 TryConsumeToken(tok::coloncolon, ColonLoc)) {
792 SourceLocation ColonLoc; local
[all...]
H A DParseInit.cpp147 SourceLocation ColonLoc = ConsumeToken(); local
150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc),
155 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true,
H A DParseOpenMP.cpp862 SourceLocation ColonLoc = SourceLocation(); local
899 ColonLoc = ConsumeToken();
921 /*ColonLoc=*/SourceLocation(), Tok.getLocation(),
927 ColonLoc = ConsumeToken();
996 ColonLoc = ConsumeToken();
1045 ColonLoc = Tok.getLocation();
1066 Kind, Vars, TailExpr, Loc, LOpen, ColonLoc, Tok.getLocation(),
H A DParseExpr.cpp253 SourceLocation ColonLoc; local
311 if (!TryConsumeToken(tok::colon, ColonLoc)) {
337 ColonLoc = Tok.getLocation();
446 LHS = Actions.ActOnConditionalOp(OpToken.getLocation(), ColonLoc,
1426 SourceLocation ColonLoc; local
1439 ColonLoc = ConsumeToken();
1450 if (ColonLoc.isValid()) {
1452 ColonLoc, Length.get(), RLoc);
H A DParseObjc.cpp1492 SourceLocation ColonLoc = Tok.getLocation(); local
1493 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) {
1496 Diag(ColonLoc, diag::note_force_empty_selector_name) << ArgInfo.Name;
H A DParseDeclCXX.cpp3182 SourceLocation ColonLoc = ConsumeToken(); local
3219 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, MemInitializers,
H A DParseDecl.cpp1791 if (TryConsumeToken(tok::colon, FRI->ColonLoc)) {
2029 FRI->ColonLoc = EqualLoc;
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DOpenMPClause.cpp181 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL,
187 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size());
212 SourceLocation LParenLoc, SourceLocation ColonLoc,
216 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size());
340 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL,
346 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo);
382 SourceLocation ColonLoc, ArrayRef<Expr *> VL) {
389 Clause->setColonLoc(ColonLoc);
178 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, OpenMPLinearClauseKind Modifier, SourceLocation ModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, ArrayRef<Expr *> PL, ArrayRef<Expr *> IL, Expr *Step, Expr *CalcStep) argument
211 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *A) argument
338 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps) argument
379 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, OpenMPDependClauseKind DepKind, SourceLocation DepLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL) argument
H A DStmtCXX.cpp57 : Stmt(CXXForRangeStmtClass), ForLoc(FL), CoawaitLoc(CAL), ColonLoc(CL),
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp377 SourceLocation ColonLoc) {
431 CaseStmt(LHS.get(), RHS.get(), CaseLoc, DotDotDotLoc, ColonLoc);
445 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, argument
454 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt);
461 SourceLocation ColonLoc, Stmt *SubStmt) {
1942 SourceLocation ColonLoc, Expr *Range,
1994 return BuildCXXForRangeStmt(ForLoc, CoawaitLoc, ColonLoc, RangeDecl.get(),
2013 SourceLocation ColonLoc,
2019 &SemaRef.PP.getIdentifierTable().get("begin"), ColonLoc);
2021 ColonLoc);
375 ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal, SourceLocation DotDotDotLoc, Expr *RHSVal, SourceLocation ColonLoc) argument
460 ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, SourceLocation ColonLoc, Stmt *SubStmt) argument
1940 ActOnCXXForRangeStmt(Scope *S, SourceLocation ForLoc, SourceLocation CoawaitLoc, Stmt *First, SourceLocation ColonLoc, Expr *Range, SourceLocation RParenLoc, BuildForRangeKind Kind) argument
2008 BuildNonArrayForRange(Sema &SemaRef, Expr *BeginRange, Expr *EndRange, QualType RangeType, VarDecl *BeginVar, VarDecl *EndVar, SourceLocation ColonLoc, OverloadCandidateSet *CandidateSet, ExprResult *BeginExpr, ExprResult *EndExpr, BeginEndFunction *BEF) argument
2092 RebuildForRangeWithDereference(Sema &SemaRef, Scope *S, SourceLocation ForLoc, SourceLocation CoawaitLoc, Stmt *LoopVarDecl, SourceLocation ColonLoc, Expr *Range, SourceLocation RangeLoc, SourceLocation RParenLoc) argument
2145 BuildCXXForRangeStmt(SourceLocation ForLoc, SourceLocation CoawaitLoc, SourceLocation ColonLoc, Stmt *RangeDecl, Stmt *BeginEnd, Expr *Cond, Expr *Inc, Stmt *LoopVarDecl, SourceLocation RParenLoc, BuildForRangeKind Kind) argument
[all...]
H A DSemaCXXScopeSpec.cpp847 SourceLocation ColonLoc,
853 return !BuildCXXNestedNameSpecifier(S, Identifier, IdentifierLoc, ColonLoc,
844 IsInvalidUnlessNestedName(Scope *S, CXXScopeSpec &SS, IdentifierInfo &Identifier, SourceLocation IdentifierLoc, SourceLocation ColonLoc, ParsedType ObjectType, bool EnteringContext) argument
H A DSemaOpenMP.cpp5748 SourceLocation ColonLoc,
5763 NameModifierLoc, ColonLoc, EndLoc);
6406 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc,
6426 Res = ActOnOpenMPReductionClause(VarList, StartLoc, LParenLoc, ColonLoc,
6431 LinKind, DepLinMapLoc, ColonLoc, EndLoc);
6435 ColonLoc, EndLoc);
6447 Res = ActOnOpenMPDependClause(DepKind, DepLinMapLoc, ColonLoc, VarList,
6451 Res = ActOnOpenMPMapClause(MapTypeModifier, MapType, DepLinMapLoc, ColonLoc,
7121 SourceLocation ColonLoc, SourceLocation EndLoc,
7616 Context, StartLoc, LParenLoc, ColonLoc, EndLo
[all...]
H A DTreeTransform.h1119 SourceLocation ColonLoc) {
1121 ColonLoc);
1138 SourceLocation ColonLoc,
1140 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt,
1149 SourceLocation ColonLoc, Stmt *SubStmt) {
1150 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt);
1393 SourceLocation ColonLoc,
1396 LParenLoc, NameModifierLoc, ColonLoc,
1559 SourceLocation ColonLoc,
1564 VarList, StartLoc, LParenLoc, ColonLoc, EndLo
1115 RebuildCaseStmt(SourceLocation CaseLoc, Expr *LHS, SourceLocation EllipsisLoc, Expr *RHS, SourceLocation ColonLoc) argument
1137 RebuildDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, Stmt *SubStmt) argument
1148 RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, SourceLocation ColonLoc, Stmt *SubStmt) argument
1389 RebuildOMPIfClause(OpenMPDirectiveKind NameModifier, Expr *Condition, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation NameModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1556 RebuildOMPReductionClause(ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, CXXScopeSpec &ReductionIdScopeSpec, const DeclarationNameInfo &ReductionId) argument
1572 RebuildOMPLinearClause(ArrayRef<Expr *> VarList, Expr *Step, SourceLocation StartLoc, SourceLocation LParenLoc, OpenMPLinearClauseKind Modifier, SourceLocation ModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1588 RebuildOMPAlignedClause(ArrayRef<Expr *> VarList, Expr *Alignment, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1638 RebuildOMPDependClause(OpenMPDependClauseKind DepKind, SourceLocation DepLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument
1661 RebuildOMPMapClause( OpenMPMapClauseKind MapTypeModifier, OpenMPMapClauseKind MapType, SourceLocation MapLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument
1823 RebuildCXXForRangeStmt(SourceLocation ForLoc, SourceLocation CoawaitLoc, SourceLocation ColonLoc, Stmt *Range, Stmt *BeginEnd, Expr *Cond, Expr *Inc, Stmt *LoopVar, SourceLocation RParenLoc) argument
2013 RebuildOMPArraySectionExpr(Expr *Base, SourceLocation LBracketLoc, Expr *LowerBound, SourceLocation ColonLoc, Expr *Length, SourceLocation RBracketLoc) argument
2103 RebuildConditionalOperator(Expr *Cond, SourceLocation QuestionLoc, Expr *LHS, SourceLocation ColonLoc, Expr *RHS) argument
[all...]
H A DSemaExpr.cpp4130 SourceLocation ColonLoc, Expr *Length,
4160 VK_LValue, OK_Ordinary, ColonLoc, RBLoc);
4245 } else if (ColonLoc.isValid() &&
4251 Diag(ColonLoc, diag::err_omp_section_length_undefined)
4258 VK_LValue, OK_Ordinary, ColonLoc, RBLoc);
6799 SourceLocation ColonLoc,
6864 ConditionalOperator(Cond.get(), QuestionLoc, LHS.get(), ColonLoc,
6869 ColonLoc, result, VK, OK);
4128 ActOnOMPArraySectionExpr(Expr *Base, SourceLocation LBLoc, Expr *LowerBound, SourceLocation ColonLoc, Expr *Length, SourceLocation RBLoc) argument
6798 ActOnConditionalOp(SourceLocation QuestionLoc, SourceLocation ColonLoc, Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr) argument
H A DSemaDeclCXX.cpp1863 SourceLocation ColonLoc,
1867 ASLoc, ColonLoc);
4235 SourceLocation ColonLoc,
4247 Diag(ColonLoc, diag::err_only_constructors_take_base_inits);
1861 ActOnAccessSpecifier(AccessSpecifier Access, SourceLocation ASLoc, SourceLocation ColonLoc, AttributeList *Attrs) argument
4234 ActOnMemInitializers(Decl *ConstructorDecl, SourceLocation ColonLoc, ArrayRef<CXXCtorInitializer*> MemInits, bool AnyErrors) argument
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h3307 SourceLocation ColonLoc);
3311 SourceLocation ColonLoc,
3314 SourceLocation ColonLoc, Stmt *SubStmt);
3365 SourceLocation ColonLoc, Expr *Collection,
3370 SourceLocation ColonLoc,
3844 Expr *LowerBound, SourceLocation ColonLoc,
3976 SourceLocation ColonLoc,
4894 SourceLocation ColonLoc,
5170 SourceLocation ColonLoc,
5288 SourceLocation ColonLoc,
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h1804 SourceLocation ColonLoc; member in struct:clang::Parser::ForRangeInit
1807 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); }
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp699 E->ColonLoc = ReadSourceLocation(Record, Idx);
711 E->ColonLoc = ReadSourceLocation(Record, Idx);
1207 S->ColonLoc = ReadSourceLocation(Record, Idx);

Completed in 705 milliseconds

12