/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 451 SourceLocation ColonLoc = ConsumeToken(); in ParseLabeledStatement() local 460 SubStmt = Actions.ActOnNullStmt(ColonLoc); in ParseLabeledStatement() 467 return Actions.ActOnLabelStmt(IdentTok.getLocation(), LD, ColonLoc, in ParseLabeledStatement() 505 SourceLocation ColonLoc; in ParseCaseStatement() local 544 ColonLoc = ConsumeToken(); in ParseCaseStatement() 548 ColonLoc = ConsumeToken(); in ParseCaseStatement() 549 Diag(ColonLoc, diag::err_expected_colon_after) << "'case'" in ParseCaseStatement() 550 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement() 555 ColonLoc = ExpectedLoc; in ParseCaseStatement() 560 RHS.get(), ColonLoc); in ParseCaseStatement() [all …]
|
D | ParseInit.cpp | 91 SourceLocation ColonLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local 94 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator() 99 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
|
D | ParseExpr.cpp | 266 SourceLocation ColonLoc; in ParseRHSOfBinaryExpression() local 304 ColonLoc = ConsumeToken(); in ParseRHSOfBinaryExpression() 331 ColonLoc = Tok.getLocation(); in ParseRHSOfBinaryExpression() 404 LHS = Actions.ActOnConditionalOp(OpToken.getLocation(), ColonLoc, in ParseRHSOfBinaryExpression()
|
D | ParseDeclCXX.cpp | 2193 SourceLocation ColonLoc = ConsumeToken(); in ParseConstructorInitializer() local 2230 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, in ParseConstructorInitializer()
|
D | ParseDecl.cpp | 824 FRI->ColonLoc = ConsumeToken(); in ParseDeclGroup()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 212 SourceLocation ColonLoc) { in ActOnCaseStmt() argument 234 ColonLoc); in ActOnCaseStmt() 246 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt() argument 253 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt() 260 SourceLocation ColonLoc, Stmt *SubStmt) { in ActOnLabelStmt() argument 1187 Stmt *First, SourceLocation ColonLoc, Expr *Range, in ActOnCXXForRangeStmt() argument 1221 return BuildCXXForRangeStmt(ForLoc, ColonLoc, RangeDecl.get(), in ActOnCXXForRangeStmt() 1228 Sema::BuildCXXForRangeStmt(SourceLocation ForLoc, SourceLocation ColonLoc, in BuildCXXForRangeStmt() argument 1249 VK_LValue, ColonLoc); in BuildCXXForRangeStmt() 1264 VarDecl *BeginVar = BuildForRangeVarDecl(*this, ColonLoc, AutoType, in BuildCXXForRangeStmt() [all …]
|
D | SemaCXXScopeSpec.cpp | 661 SourceLocation ColonLoc, in IsInvalidUnlessNestedName() argument 667 return !BuildCXXNestedNameSpecifier(S, Identifier, IdentifierLoc, ColonLoc, in IsInvalidUnlessNestedName()
|
D | TreeTransform.h | 975 SourceLocation ColonLoc) { in RebuildCaseStmt() argument 977 ColonLoc); in RebuildCaseStmt() 994 SourceLocation ColonLoc, in RebuildDefaultStmt() argument 996 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt() 1005 SourceLocation ColonLoc, Stmt *SubStmt) { in RebuildLabelStmt() argument 1006 return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt); in RebuildLabelStmt() 1264 SourceLocation ColonLoc, in RebuildCXXForRangeStmt() argument 1269 return getSema().BuildCXXForRangeStmt(ForLoc, ColonLoc, Range, BeginEnd, in RebuildCXXForRangeStmt() 1497 SourceLocation ColonLoc, in RebuildConditionalOperator() argument 1499 return getSema().ActOnConditionalOp(QuestionLoc, ColonLoc, Cond, in RebuildConditionalOperator()
|
D | SemaDeclCXX.cpp | 1010 SourceLocation ColonLoc) { in ActOnAccessSpecifier() argument 1013 ASLoc, ColonLoc); in ActOnAccessSpecifier() 2564 SourceLocation ColonLoc, in ActOnMemInitializers() argument 2576 Diag(ColonLoc, diag::err_only_constructors_take_base_inits); in ActOnMemInitializers()
|
D | SemaExpr.cpp | 4850 SourceLocation ColonLoc, in ActOnConditionalOp() argument 4896 LHS.take(), ColonLoc, in ActOnConditionalOp() 4901 RHS.take(), QuestionLoc, ColonLoc, result, VK, OK)); in ActOnConditionalOp()
|
/external/clang/include/clang/AST/ |
D | StmtCXX.h | 134 SourceLocation ColonLoc; variable 185 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 186 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } in setColonLoc()
|
D | DeclCXX.h | 108 SourceLocation ColonLoc; 111 SourceLocation ASLoc, SourceLocation ColonLoc) 112 : Decl(AccessSpec, DC, ASLoc), ColonLoc(ColonLoc) { 124 SourceLocation getColonLoc() const { return ColonLoc; } 126 void setColonLoc(SourceLocation CLoc) { ColonLoc = CLoc; } 134 SourceLocation ColonLoc) { 135 return new (C) AccessSpecDecl(AS, DC, ASLoc, ColonLoc);
|
D | Stmt.h | 565 SourceLocation ColonLoc; variable 575 ColonLoc = colonLoc; in CaseStmt() 585 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 586 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc() 627 SourceLocation ColonLoc; variable 631 ColonLoc(CL) {} in DefaultStmt() 642 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc() 643 void setColonLoc(SourceLocation L) { ColonLoc = L; } in setColonLoc()
|
D | Expr.h | 2790 SourceLocation QuestionLoc, ColonLoc; variable 2801 QuestionLoc(qloc), ColonLoc(cloc) {} in AbstractConditionalOperator() 2821 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1992 SourceLocation ColonLoc); 1996 SourceLocation ColonLoc, 1999 SourceLocation ColonLoc, Stmt *SubStmt); 2031 SourceLocation ColonLoc, Expr *Collection, 2034 SourceLocation ColonLoc, 2428 SourceLocation ColonLoc, 3133 SourceLocation ColonLoc, 3277 SourceLocation ColonLoc); 3374 SourceLocation ColonLoc,
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1385 SourceLocation ColonLoc; member 1388 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); } in ParsedForRangeDecl()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 564 : Stmt(CXXForRangeStmtClass), ForLoc(FL), ColonLoc(CL), RParenLoc(RPL) { in CXXForRangeStmt()
|
/external/clang/lib/Serialization/ |
D | ASTReaderStmt.cpp | 538 E->ColonLoc = ReadSourceLocation(Record, Idx); in VisitConditionalOperator() 550 E->ColonLoc = ReadSourceLocation(Record, Idx); in VisitBinaryConditionalOperator()
|