Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseStmt.cpp451 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 …]
DParseInit.cpp91 SourceLocation ColonLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator() local
94 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
99 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
DParseExpr.cpp266 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()
DParseDeclCXX.cpp2193 SourceLocation ColonLoc = ConsumeToken(); in ParseConstructorInitializer() local
2230 Actions.ActOnMemInitializers(ConstructorDecl, ColonLoc, in ParseConstructorInitializer()
DParseDecl.cpp824 FRI->ColonLoc = ConsumeToken(); in ParseDeclGroup()
/external/clang/lib/Sema/
DSemaStmt.cpp212 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 …]
DSemaCXXScopeSpec.cpp661 SourceLocation ColonLoc, in IsInvalidUnlessNestedName() argument
667 return !BuildCXXNestedNameSpecifier(S, Identifier, IdentifierLoc, ColonLoc, in IsInvalidUnlessNestedName()
DTreeTransform.h975 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()
DSemaDeclCXX.cpp1010 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()
DSemaExpr.cpp4850 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/
DStmtCXX.h134 SourceLocation ColonLoc; variable
185 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
186 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } in setColonLoc()
DDeclCXX.h108 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);
DStmt.h565 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()
DExpr.h2790 SourceLocation QuestionLoc, ColonLoc; variable
2801 QuestionLoc(qloc), ColonLoc(cloc) {} in AbstractConditionalOperator()
2821 SourceLocation getColonLoc() const { return ColonLoc; } in getColonLoc()
/external/clang/include/clang/Sema/
DSema.h1992 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/
DParser.h1385 SourceLocation ColonLoc; member
1388 bool ParsedForRangeDecl() { return !ColonLoc.isInvalid(); } in ParsedForRangeDecl()
/external/clang/lib/AST/
DStmt.cpp564 : Stmt(CXXForRangeStmtClass), ForLoc(FL), ColonLoc(CL), RParenLoc(RPL) { in CXXForRangeStmt()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp538 E->ColonLoc = ReadSourceLocation(Record, Idx); in VisitConditionalOperator()
550 E->ColonLoc = ReadSourceLocation(Record, Idx); in VisitBinaryConditionalOperator()