Searched defs:ColonLoc (Results 1 - 20 of 20) sorted by relevance

/external/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 DStmtCXX.h135 SourceLocation ColonLoc; member in class:clang::CXXForRangeStmt
190 SourceLocation getColonLoc() const { return ColonLoc; }
H A DOpenMPClause.h167 SourceLocation ColonLoc; member in class:clang::OMPIfClause
184 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; }
194 /// \param ColonLoc [OpenMP 4.1] Location of ':'.
199 SourceLocation NameModifierLoc, SourceLocation ColonLoc,
202 Condition(Cond), ColonLoc(ColonLoc), NameModifier(NameModifier),
209 Condition(nullptr), ColonLoc(), NameModifier(OMPD_unknown),
218 SourceLocation getColonLoc() const { return ColonLoc; }
1550 SourceLocation ColonLoc; member in class:clang::OMPReductionClause
1561 /// \param ColonLoc Locatio
197 OMPIfClause(OpenMPDirectiveKind NameModifier, Expr *Cond, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation NameModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1566 OMPReductionClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned N, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo) argument
1756 SourceLocation ColonLoc; member in class:clang::OMPLinearClause
1772 OMPLinearClause(SourceLocation StartLoc, SourceLocation LParenLoc, OpenMPLinearClauseKind Modifier, SourceLocation ModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned NumVars) argument
1972 SourceLocation ColonLoc; member in class:clang::OMPAlignedClause
1985 OMPAlignedClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned NumVars) argument
2428 SourceLocation ColonLoc; member in class:clang::OMPDependClause
2635 SourceLocation ColonLoc; member in class:clang::OMPMapClause
[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 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.h3195 SourceLocation QuestionLoc, ColonLoc; member in class:clang::StringLiteral::OffsetOfExpr::AbstractConditionalOperator
3206 QuestionLoc(qloc), ColonLoc(cloc) {}
3226 SourceLocation getColonLoc() const { return ColonLoc; }
/external/clang/lib/Parse/
H A DParseInit.cpp147 SourceLocation ColonLoc = ConsumeToken(); local
150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc),
155 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true,
H A DParseOpenMP.cpp821 SourceLocation ColonLoc = SourceLocation(); local
858 ColonLoc = ConsumeToken();
880 /*ColonLoc=*/SourceLocation(), Tok.getLocation(),
886 ColonLoc = ConsumeToken();
955 ColonLoc = ConsumeToken();
1004 ColonLoc = Tok.getLocation();
1025 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,
1411 SourceLocation ColonLoc; local
1424 ColonLoc = ConsumeToken();
1435 if (ColonLoc.isValid()) {
1437 ColonLoc, Length.get(), RLoc);
H A DParseStmt.cpp562 SourceLocation ColonLoc = ConsumeToken(); local
601 SubStmt = Actions.ActOnNullStmt(ColonLoc);
610 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc,
646 SourceLocation ColonLoc; local
650 ColonLoc = SourceLocation();
675 TryConsumeToken(tok::colon, ColonLoc);
693 TryConsumeToken(tok::colon, ColonLoc);
702 if (TryConsumeToken(tok::colon, ColonLoc)) {
703 } else if (TryConsumeToken(tok::semi, ColonLoc) ||
704 TryConsumeToken(tok::coloncolon, ColonLoc)) {
779 SourceLocation ColonLoc; local
[all...]
H A DParseDeclCXX.cpp3182 SourceLocation ColonLoc = ConsumeToken(); local
3219 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, MemInitializers,
H A DParseObjc.cpp1493 SourceLocation ColonLoc = Tok.getLocation(); local
1494 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) {
1497 Diag(ColonLoc, diag::note_force_empty_selector_name) << ArgInfo.Name;
/external/clang/lib/AST/
H A DOpenMPClause.cpp197 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL,
205 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size());
232 SourceLocation LParenLoc, SourceLocation ColonLoc,
238 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size());
372 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL,
380 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo);
422 SourceLocation ColonLoc, ArrayRef<Expr *> VL) {
431 Clause->setColonLoc(ColonLoc);
194 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
231 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *A) argument
370 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
419 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, OpenMPDependClauseKind DepKind, SourceLocation DepLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL) argument
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp846 SourceLocation ColonLoc,
852 return !BuildCXXNestedNameSpecifier(S, Identifier, IdentifierLoc, ColonLoc,
843 IsInvalidUnlessNestedName(Scope *S, CXXScopeSpec &SS, IdentifierInfo &Identifier, SourceLocation IdentifierLoc, SourceLocation ColonLoc, ParsedType ObjectType, bool EnteringContext) argument
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 DSemaDeclCXX.cpp1860 SourceLocation ColonLoc,
1864 ASLoc, ColonLoc);
4232 SourceLocation ColonLoc,
4244 Diag(ColonLoc, diag::err_only_constructors_take_base_inits);
1858 ActOnAccessSpecifier(AccessSpecifier Access, SourceLocation ASLoc, SourceLocation ColonLoc, AttributeList *Attrs) argument
4231 ActOnMemInitializers(Decl *ConstructorDecl, SourceLocation ColonLoc, ArrayRef<CXXCtorInitializer*> MemInits, bool AnyErrors) argument
H A DSemaExpr.cpp3990 SourceLocation ColonLoc, Expr *Length,
4020 VK_LValue, OK_Ordinary, ColonLoc, RBLoc);
4105 } else if (ColonLoc.isValid() &&
4111 Diag(ColonLoc, diag::err_omp_section_length_undefined)
4118 VK_LValue, OK_Ordinary, ColonLoc, RBLoc);
6620 SourceLocation ColonLoc,
6685 ConditionalOperator(Cond.get(), QuestionLoc, LHS.get(), ColonLoc,
6690 ColonLoc, result, VK, OK);
3988 ActOnOMPArraySectionExpr(Expr *Base, SourceLocation LBLoc, Expr *LowerBound, SourceLocation ColonLoc, Expr *Length, SourceLocation RBLoc) argument
6619 ActOnConditionalOp(SourceLocation QuestionLoc, SourceLocation ColonLoc, Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr) argument
H A DTreeTransform.h1116 SourceLocation ColonLoc) {
1118 ColonLoc);
1135 SourceLocation ColonLoc,
1137 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt,
1146 SourceLocation ColonLoc, Stmt *SubStmt) {
1147 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt);
1390 SourceLocation ColonLoc,
1393 LParenLoc, NameModifierLoc, ColonLoc,
1557 SourceLocation ColonLoc,
1562 VarList, StartLoc, LParenLoc, ColonLoc, EndLo
1112 RebuildCaseStmt(SourceLocation CaseLoc, Expr *LHS, SourceLocation EllipsisLoc, Expr *RHS, SourceLocation ColonLoc) argument
1134 RebuildDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, Stmt *SubStmt) argument
1145 RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, SourceLocation ColonLoc, Stmt *SubStmt) argument
1386 RebuildOMPIfClause(OpenMPDirectiveKind NameModifier, Expr *Condition, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation NameModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1554 RebuildOMPReductionClause(ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, CXXScopeSpec &ReductionIdScopeSpec, const DeclarationNameInfo &ReductionId) argument
1570 RebuildOMPLinearClause(ArrayRef<Expr *> VarList, Expr *Step, SourceLocation StartLoc, SourceLocation LParenLoc, OpenMPLinearClauseKind Modifier, SourceLocation ModifierLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1586 RebuildOMPAlignedClause(ArrayRef<Expr *> VarList, Expr *Alignment, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1636 RebuildOMPDependClause(OpenMPDependClauseKind DepKind, SourceLocation DepLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument
1659 RebuildOMPMapClause( OpenMPMapClauseKind MapTypeModifier, OpenMPMapClauseKind MapType, SourceLocation MapLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) argument
1821 RebuildCXXForRangeStmt(SourceLocation ForLoc, SourceLocation CoawaitLoc, SourceLocation ColonLoc, Stmt *Range, Stmt *BeginEnd, Expr *Cond, Expr *Inc, Stmt *LoopVar, SourceLocation RParenLoc) argument
2011 RebuildOMPArraySectionExpr(Expr *Base, SourceLocation LBracketLoc, Expr *LowerBound, SourceLocation ColonLoc, Expr *Length, SourceLocation RBracketLoc) argument
2101 RebuildConditionalOperator(Expr *Cond, SourceLocation QuestionLoc, Expr *LHS, SourceLocation ColonLoc, Expr *RHS) argument
[all...]
/external/clang/include/clang/Parse/
H A DParser.h1790 SourceLocation ColonLoc; member in struct:clang::Parser::ForRangeInit
1793 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); }

Completed in 366 milliseconds