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

/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.cpp583 SourceLocation ColonLoc = SourceLocation(); local
607 ColonLoc = ConsumeToken();
641 ColonLoc = Tok.getLocation();
657 Kind, Vars, TailExpr, Loc, LOpen, ColonLoc, Tok.getLocation(),
H A DParseExpr.cpp226 SourceLocation ColonLoc; local
273 if (!TryConsumeToken(tok::colon, ColonLoc)) {
299 ColonLoc = Tok.getLocation();
397 LHS = Actions.ActOnConditionalOp(OpToken.getLocation(), ColonLoc,
H A DParseStmt.cpp541 SourceLocation ColonLoc = ConsumeToken(); local
580 SubStmt = Actions.ActOnNullStmt(ColonLoc);
589 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc,
625 SourceLocation ColonLoc; local
629 ColonLoc = SourceLocation();
649 TryConsumeToken(tok::colon, ColonLoc);
667 TryConsumeToken(tok::colon, ColonLoc);
676 if (TryConsumeToken(tok::colon, ColonLoc)) {
677 } else if (TryConsumeToken(tok::semi, ColonLoc) ||
678 TryConsumeToken(tok::coloncolon, ColonLoc)) {
753 SourceLocation ColonLoc; local
[all...]
H A DParseDeclCXX.cpp2803 SourceLocation ColonLoc = ConsumeToken(); local
2840 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, MemInitializers,
H A DParseObjc.cpp1123 SourceLocation ColonLoc = Tok.getLocation(); local
1124 if (PP.getLocForEndOfToken(ArgInfo.NameLoc) == ColonLoc) {
1127 Diag(ColonLoc, diag::note_force_empty_selector_name) << ArgInfo.Name;
/external/clang/include/clang/AST/
H A DStmtCXX.h134 SourceLocation ColonLoc; member in class:clang::CXXForRangeStmt
187 SourceLocation getColonLoc() const { return ColonLoc; }
188 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; }
H A DOpenMPClause.h911 SourceLocation ColonLoc; member in class:clang::OMPReductionClause
922 /// \param ColonLoc Location of ':'.
928 SourceLocation ColonLoc, SourceLocation EndLoc, unsigned N,
933 ColonLoc(ColonLoc), QualifierLoc(QualifierLoc), NameInfo(NameInfo) {}
943 ColonLoc(), QualifierLoc(), NameInfo() {}
946 void setColonLoc(SourceLocation CL) { ColonLoc = CL; }
957 /// \param ColonLoc Location of ':'.
965 SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL,
976 SourceLocation getColonLoc() const { return ColonLoc; }
927 OMPReductionClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned N, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo) argument
1004 SourceLocation ColonLoc; member in class:clang::OMPLinearClause
1017 OMPLinearClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned NumVars) argument
1089 SourceLocation ColonLoc; member in class:clang::OMPAlignedClause
1102 OMPAlignedClause(SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, unsigned NumVars) argument
[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.h646 SourceLocation ColonLoc; member in class:clang::SwitchCase
648 SwitchCase(StmtClass SC, SourceLocation KWLoc, SourceLocation ColonLoc) argument
649 : Stmt(SC), NextSwitchCase(nullptr), KeywordLoc(KWLoc), ColonLoc(ColonLoc) {
664 SourceLocation getColonLoc() const { return ColonLoc; }
665 void setColonLoc(SourceLocation L) { ColonLoc = L; }
703 SourceLocation getColonLoc() const { return ColonLoc; }
704 void setColonLoc(SourceLocation L) { ColonLoc = L; }
758 SourceLocation getColonLoc() const { return ColonLoc; }
759 void setColonLoc(SourceLocation L) { ColonLoc
[all...]
H A DExpr.h3141 SourceLocation QuestionLoc, ColonLoc; member in class:clang::StringLiteral::OffsetOfExpr::AbstractConditionalOperator
3152 QuestionLoc(qloc), ColonLoc(cloc) {}
3172 SourceLocation getColonLoc() const { return ColonLoc; }
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp781 SourceLocation ColonLoc,
787 return !BuildCXXNestedNameSpecifier(S, Identifier, IdentifierLoc, ColonLoc,
778 IsInvalidUnlessNestedName(Scope *S, CXXScopeSpec &SS, IdentifierInfo &Identifier, SourceLocation IdentifierLoc, SourceLocation ColonLoc, ParsedType ObjectType, bool EnteringContext) argument
H A DSemaOpenMP.cpp2333 SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc,
2351 Res = ActOnOpenMPReductionClause(VarList, StartLoc, LParenLoc, ColonLoc,
2356 ColonLoc, EndLoc);
2360 ColonLoc, EndLoc);
2950 SourceLocation ColonLoc, SourceLocation EndLoc,
3234 Context, StartLoc, LParenLoc, ColonLoc, EndLoc, Vars,
3241 SourceLocation ColonLoc,
3361 return OMPLinearClause::Create(Context, StartLoc, LParenLoc, ColonLoc, EndLoc,
3367 SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc) {
3436 return OMPAlignedClause::Create(Context, StartLoc, LParenLoc, ColonLoc,
2331 ActOnOpenMPVarListClause( OpenMPClauseKind Kind, ArrayRef<Expr *> VarList, Expr *TailExpr, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, CXXScopeSpec &ReductionIdScopeSpec, const DeclarationNameInfo &ReductionId) argument
2948 ActOnOpenMPReductionClause( ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, CXXScopeSpec &ReductionIdScopeSpec, const DeclarationNameInfo &ReductionId) argument
3238 ActOnOpenMPLinearClause(ArrayRef<Expr *> VarList, Expr *Step, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
3365 ActOnOpenMPAlignedClause( ArrayRef<Expr *> VarList, Expr *Alignment, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
[all...]
H A DSemaStmt.cpp353 SourceLocation ColonLoc) {
385 ColonLoc);
399 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, argument
408 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt);
415 SourceLocation ColonLoc, Stmt *SubStmt) {
1901 Stmt *First, SourceLocation ColonLoc, Expr *Range,
1945 return BuildCXXForRangeStmt(ForLoc, ColonLoc, RangeDecl.get(),
1964 SourceLocation ColonLoc,
1970 &SemaRef.PP.getIdentifierTable().get("begin"), ColonLoc);
1972 ColonLoc);
351 ActOnCaseStmt(SourceLocation CaseLoc, Expr *LHSVal, SourceLocation DotDotDotLoc, Expr *RHSVal, SourceLocation ColonLoc) argument
414 ActOnLabelStmt(SourceLocation IdentLoc, LabelDecl *TheDecl, SourceLocation ColonLoc, Stmt *SubStmt) argument
1900 ActOnCXXForRangeStmt(SourceLocation ForLoc, Stmt *First, SourceLocation ColonLoc, Expr *Range, SourceLocation RParenLoc, BuildForRangeKind Kind) argument
1959 BuildNonArrayForRange(Sema &SemaRef, Scope *S, Expr *BeginRange, Expr *EndRange, QualType RangeType, VarDecl *BeginVar, VarDecl *EndVar, SourceLocation ColonLoc, OverloadCandidateSet *CandidateSet, ExprResult *BeginExpr, ExprResult *EndExpr, Sema::BeginEndFunction *BEF) argument
2037 RebuildForRangeWithDereference(Sema &SemaRef, Scope *S, SourceLocation ForLoc, Stmt *LoopVarDecl, SourceLocation ColonLoc, Expr *Range, SourceLocation RangeLoc, SourceLocation RParenLoc) argument
2090 BuildCXXForRangeStmt(SourceLocation ForLoc, SourceLocation ColonLoc, Stmt *RangeDecl, Stmt *BeginEnd, Expr *Cond, Expr *Inc, Stmt *LoopVarDecl, SourceLocation RParenLoc, BuildForRangeKind Kind) argument
[all...]
H A DSemaDeclCXX.cpp1812 SourceLocation ColonLoc,
1816 ASLoc, ColonLoc);
3944 SourceLocation ColonLoc,
3956 Diag(ColonLoc, diag::err_only_constructors_take_base_inits);
1810 ActOnAccessSpecifier(AccessSpecifier Access, SourceLocation ASLoc, SourceLocation ColonLoc, AttributeList *Attrs) argument
3943 ActOnMemInitializers(Decl *ConstructorDecl, SourceLocation ColonLoc, ArrayRef<CXXCtorInitializer*> MemInits, bool AnyErrors) argument
H A DTreeTransform.h1068 SourceLocation ColonLoc) {
1070 ColonLoc);
1087 SourceLocation ColonLoc,
1089 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt,
1098 SourceLocation ColonLoc, Stmt *SubStmt) {
1099 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt);
1450 SourceLocation ColonLoc,
1455 VarList, StartLoc, LParenLoc, ColonLoc, EndLoc, ReductionIdScopeSpec,
1466 SourceLocation ColonLoc,
1469 ColonLoc, EndLo
1064 RebuildCaseStmt(SourceLocation CaseLoc, Expr *LHS, SourceLocation EllipsisLoc, Expr *RHS, SourceLocation ColonLoc) argument
1086 RebuildDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, Stmt *SubStmt) argument
1097 RebuildLabelStmt(SourceLocation IdentLoc, LabelDecl *L, SourceLocation ColonLoc, Stmt *SubStmt) argument
1447 RebuildOMPReductionClause(ArrayRef<Expr *> VarList, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, CXXScopeSpec &ReductionIdScopeSpec, const DeclarationNameInfo &ReductionId) argument
1463 RebuildOMPLinearClause(ArrayRef<Expr *> VarList, Expr *Step, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1476 RebuildOMPAlignedClause(ArrayRef<Expr *> VarList, Expr *Alignment, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc) argument
1595 RebuildCXXForRangeStmt(SourceLocation ForLoc, SourceLocation ColonLoc, Stmt *Range, Stmt *BeginEnd, Expr *Cond, Expr *Inc, Stmt *LoopVar, SourceLocation RParenLoc) argument
1854 RebuildConditionalOperator(Expr *Cond, SourceLocation QuestionLoc, Expr *LHS, SourceLocation ColonLoc, Expr *RHS) argument
[all...]
H A DSemaExpr.cpp6068 SourceLocation ColonLoc,
6122 ConditionalOperator(Cond.get(), QuestionLoc, LHS.get(), ColonLoc,
6127 ColonLoc, result, VK, OK);
6067 ActOnConditionalOp(SourceLocation QuestionLoc, SourceLocation ColonLoc, Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr) argument
/external/clang/lib/AST/
H A DStmt.cpp792 : Stmt(CXXForRangeStmtClass), ForLoc(FL), ColonLoc(CL), RParenLoc(RPL) {
1218 SourceLocation ColonLoc,
1225 OMPLinearClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size());
1241 SourceLocation LParenLoc, SourceLocation ColonLoc,
1247 OMPAlignedClause(StartLoc, LParenLoc, ColonLoc, EndLoc, VL.size());
1313 SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL,
1319 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo);
1215 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *Step) argument
1240 Create(const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation ColonLoc, SourceLocation EndLoc, ArrayRef<Expr *> VL, Expr *A) argument
1311 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo) argument
/external/clang/include/clang/Parse/
H A DParser.h1720 SourceLocation ColonLoc; member in struct:clang::Parser::ForRangeInit
1723 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); }

Completed in 489 milliseconds