Home
last modified time | relevance | path

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

12

/external/clang/include/clang/AST/
DExprOpenMP.h48 SourceLocation ColonLoc; variable
54 SourceLocation ColonLoc, SourceLocation RBracketLoc) in OMPArraySectionExpr() argument
69 ColonLoc(ColonLoc), RBracketLoc(RBracketLoc) { in OMPArraySectionExpr()
109 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
110 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc()
DOpenMPClause.h204 SourceLocation ColonLoc; variable
221 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } in setColonLoc()
236 SourceLocation NameModifierLoc, SourceLocation ColonLoc, in OMPIfClause() argument
239 Condition(Cond), ColonLoc(ColonLoc), NameModifier(NameModifier), in OMPIfClause()
246 Condition(nullptr), ColonLoc(), NameModifier(OMPD_unknown), in OMPIfClause()
255 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
1674 SourceLocation ColonLoc; variable
1691 SourceLocation ColonLoc, SourceLocation EndLoc, unsigned N, in OMPReductionClause() argument
1696 OMPClauseWithPostUpdate(this), ColonLoc(ColonLoc), in OMPReductionClause()
1707 OMPClauseWithPostUpdate(this), ColonLoc(), QualifierLoc(), NameInfo() {} in OMPReductionClause()
[all …]
DStmt.h654 SourceLocation ColonLoc; variable
656 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) in SwitchCase() argument
657 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) { in SwitchCase()
672 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
673 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc()
711 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
712 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc()
766 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
767 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc()
DStmtCXX.h135 SourceLocation ColonLoc; variable
195 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
DDeclCXX.h106 SourceLocation ColonLoc; variable
109 SourceLocation ASLoc, SourceLocation ColonLoc) in AccessSpecDecl() argument
110 : Decl(AccessSpec, DC, ASLoc), ColonLoc(ColonLoc) { in AccessSpecDecl()
122 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
124 void setColonLoc(SourceLocation CLoc) { ColonLoc = CLoc; } in setColonLoc()
132 SourceLocation ColonLoc) { in Create() argument
133 return new (C, DC) AccessSpecDecl(AS, DC, ASLoc, ColonLoc); in Create()
DDeclObjC.h546 SourceLocation ColonLoc; variable
556 VarianceLoc(varianceLoc), ColonLoc(colonLoc) { } in ObjCTypeParamDecl()
589 bool hasExplicitBound() const { return ColonLoc.isValid(); } in hasExplicitBound()
593 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
DExpr.h3129 SourceLocation QuestionLoc, ColonLoc; variable
3140 QuestionLoc(qloc), ColonLoc(cloc) {} in AbstractConditionalOperator()
3160 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
/external/clang/lib/Parse/
DParseStmt.cpp574 SourceLocation ColonLoc = ConsumeToken(); in ParseLabeledStatement() local
614 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement()
623 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc, in ParseLabeledStatement()
659 SourceLocation ColonLoc; in ParseCaseStatement() local
663 ColonLoc = SourceLocation(); in ParseCaseStatement()
688 TryConsumeToken(tok::colon, ColonLoc); in ParseCaseStatement()
706 TryConsumeToken(tok::colon, ColonLoc); in ParseCaseStatement()
715 if (TryConsumeToken(tok::colon, ColonLoc)) { in ParseCaseStatement()
716 } else if (TryConsumeToken(tok::semi, ColonLoc) || in ParseCaseStatement()
717 TryConsumeToken(tok::coloncolon, ColonLoc)) { in ParseCaseStatement()
[all …]
DParseInit.cpp147 SourceLocation ColonLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local
150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
155 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
DParseExpr.cpp253 SourceLocation ColonLoc; in ParseRHSOfBinaryExpression() local
314 if (!TryConsumeToken(tok::colon, ColonLoc)) { in ParseRHSOfBinaryExpression()
340 ColonLoc = Tok.getLocation(); in ParseRHSOfBinaryExpression()
454 LHS = Actions.ActOnConditionalOp(OpToken.getLocation(), ColonLoc, in ParseRHSOfBinaryExpression()
1455 SourceLocation ColonLoc; in ParsePostfixExpressionSuffix() local
1468 ColonLoc = ConsumeToken(); in ParsePostfixExpressionSuffix()
1480 if (ColonLoc.isValid()) { in ParsePostfixExpressionSuffix()
1482 ColonLoc, Length.get(), RLoc); in ParsePostfixExpressionSuffix()
DParseOpenMP.cpp1554 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList()
1581 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList()
1660 Data.ColonLoc = ConsumeToken(); in ParseOpenMPVarList()
1705 Data.ColonLoc = Tok.getLocation(); in ParseOpenMPVarList()
1776 Kind, Vars, Data.TailExpr, Loc, LOpen, Data.ColonLoc, Tok.getLocation(), in ParseOpenMPVarListClause()
DParseObjc.cpp1481 SourceLocation ColonLoc = Tok.getLocation(); in ParseObjCMethodDecl() local
1482 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) { in ParseObjCMethodDecl()
1485 Diag(ColonLoc, diag::note_force_empty_selector_name) << ArgInfo.Name; in ParseObjCMethodDecl()
DParseDeclCXX.cpp3203 SourceLocation ColonLoc = ConsumeToken(); in ParseConstructorInitializer() local
3242 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, MemInitializers, in ParseConstructorInitializer()
DParseDecl.cpp1827 if (TryConsumeToken(tok::colon, FRI->ColonLoc)) { in ParseDeclGroup()
2065 FRI->ColonLoc = EqualLoc; in ParseDeclarationAfterDeclaratorAndAttributes()
/external/clang/lib/Sema/
DSemaStmt.cpp378 SourceLocation ColonLoc) { in ActOnCaseStmt() argument
432 CaseStmt(LHS.get(), RHS.get(), CaseLoc, DotDotDotLoc, ColonLoc); in ActOnCaseStmt()
446 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt() argument
455 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt()
462 SourceLocation ColonLoc, Stmt *SubStmt) { in ActOnLabelStmt() argument
1963 SourceLocation ColonLoc, Expr *Range, in ActOnCXXForRangeStmt() argument
2015 return BuildCXXForRangeStmt(ForLoc, CoawaitLoc, ColonLoc, RangeDecl.get(), in ActOnCXXForRangeStmt()
2035 SourceLocation ColonLoc, in BuildNonArrayForRange() argument
2041 &SemaRef.PP.getIdentifierTable().get("begin"), ColonLoc); in BuildNonArrayForRange()
2043 ColonLoc); in BuildNonArrayForRange()
[all …]
DTreeTransform.h1128 SourceLocation ColonLoc) { in RebuildCaseStmt() argument
1130 ColonLoc); in RebuildCaseStmt()
1147 SourceLocation ColonLoc, in RebuildDefaultStmt() argument
1149 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1158 SourceLocation ColonLoc, Stmt *SubStmt) { in RebuildLabelStmt() argument
1159 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt()
1402 SourceLocation ColonLoc, in RebuildOMPIfClause() argument
1405 LParenLoc, NameModifierLoc, ColonLoc, in RebuildOMPIfClause()
1568 SourceLocation ColonLoc, in RebuildOMPReductionClause() argument
1574 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc, ReductionIdScopeSpec, in RebuildOMPReductionClause()
[all …]
DSemaCXXScopeSpec.cpp876 SourceLocation ColonLoc, in IsInvalidUnlessNestedName() argument
882 return !BuildCXXNestedNameSpecifier(S, Identifier, IdentifierLoc, ColonLoc, in IsInvalidUnlessNestedName()
DSemaOpenMP.cpp7337 SourceLocation ColonLoc, in ActOnOpenMPIfClause() argument
7351 NameModifierLoc, ColonLoc, EndLoc); in ActOnOpenMPIfClause()
8023 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, in ActOnOpenMPVarListClause() argument
8044 Res = ActOnOpenMPReductionClause(VarList, StartLoc, LParenLoc, ColonLoc, in ActOnOpenMPVarListClause()
8049 LinKind, DepLinMapLoc, ColonLoc, EndLoc); in ActOnOpenMPVarListClause()
8053 ColonLoc, EndLoc); in ActOnOpenMPVarListClause()
8065 Res = ActOnOpenMPDependClause(DepKind, DepLinMapLoc, ColonLoc, VarList, in ActOnOpenMPVarListClause()
8070 DepLinMapLoc, ColonLoc, VarList, StartLoc, in ActOnOpenMPVarListClause()
8990 SourceLocation ColonLoc, SourceLocation EndLoc, in ActOnOpenMPReductionClause() argument
9540 Context, StartLoc, LParenLoc, ColonLoc, EndLoc, Vars, in ActOnOpenMPReductionClause()
[all …]
DSemaExpr.cpp4212 SourceLocation ColonLoc, Expr *Length, in ActOnOMPArraySectionExpr() argument
4248 VK_LValue, OK_Ordinary, ColonLoc, RBLoc); in ActOnOMPArraySectionExpr()
4333 } else if (ColonLoc.isValid() && in ActOnOMPArraySectionExpr()
4339 Diag(ColonLoc, diag::err_omp_section_length_undefined) in ActOnOMPArraySectionExpr()
4353 VK_LValue, OK_Ordinary, ColonLoc, RBLoc); in ActOnOMPArraySectionExpr()
7008 SourceLocation ColonLoc, in ActOnConditionalOp() argument
7088 ConditionalOperator(Cond.get(), QuestionLoc, LHS.get(), ColonLoc, in ActOnConditionalOp()
7093 ColonLoc, result, VK, OK); in ActOnConditionalOp()
/external/clang/lib/AST/
DOpenMPClause.cpp318 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, in Create() argument
325 StartLoc, LParenLoc, Modifier, ModifierLoc, ColonLoc, EndLoc, VL.size()); in Create()
352 SourceLocation LParenLoc, SourceLocation ColonLoc, in Create() argument
356 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size()); in Create()
480 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, in Create() argument
487 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
524 SourceLocation DepLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL) { in Create() argument
531 Clause->setColonLoc(ColonLoc); in Create()
DStmtCXX.cpp58 : Stmt(CXXForRangeStmtClass), ForLoc(FL), CoawaitLoc(CAL), ColonLoc(CL), in CXXForRangeStmt()
/external/clang/include/clang/Sema/
DSema.h3385 SourceLocation ColonLoc);
3389 SourceLocation ColonLoc,
3392 SourceLocation ColonLoc, Stmt *SubStmt);
3446 SourceLocation ColonLoc, Expr *Collection,
3451 SourceLocation ColonLoc,
3932 Expr *LowerBound, SourceLocation ColonLoc,
4066 SourceLocation ColonLoc,
5008 SourceLocation ColonLoc,
5285 SourceLocation ColonLoc,
5403 SourceLocation ColonLoc,
[all …]
/external/clang/include/clang/Parse/
DParser.h1823 SourceLocation ColonLoc; member
1826 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); } in ParsedForRangeDecl()
2557 SourceLocation ColonLoc; member
/external/clang/lib/Serialization/
DASTReaderStmt.cpp702 E->ColonLoc = ReadSourceLocation(Record, Idx); in VisitConditionalOperator()
714 E->ColonLoc = ReadSourceLocation(Record, Idx); in VisitBinaryConditionalOperator()
1210 S->ColonLoc = ReadSourceLocation(Record, Idx); in VisitCXXForRangeStmt()
DASTWriterDecl.cpp659 Record.AddSourceLocation(D->ColonLoc); in VisitObjCTypeParamDecl()

12