Home
last modified time | relevance | path

Searched refs:DefaultLoc (Results 1 – 14 of 14) sorted by relevance

/external/clang/include/clang/AST/
DStmt.h727 SourceLocation DefaultLoc; variable
731 SwitchCase(DefaultStmtClass), SubStmt(substmt), DefaultLoc(DL), in DefaultStmt()
741 SourceLocation getDefaultLoc() const { return DefaultLoc; } in getDefaultLoc()
742 void setDefaultLoc(SourceLocation L) { DefaultLoc = L; } in setDefaultLoc()
747 return SourceRange(DefaultLoc, SubStmt->getLocEnd()); in getSourceRange()
DExpr.h4102 SourceLocation GenericLoc, DefaultLoc, RParenLoc; variable
4109 SourceLocation DefaultLoc, SourceLocation RParenLoc,
4118 SourceLocation DefaultLoc, SourceLocation RParenLoc,
4127 SourceLocation getDefaultLoc() const { return DefaultLoc; } in getDefaultLoc()
/external/clang/lib/Parse/
DParseExpr.cpp2262 SourceLocation DefaultLoc; in ParseGenericSelectionExpression() local
2270 if (!DefaultLoc.isInvalid()) { in ParseGenericSelectionExpression()
2272 Diag(DefaultLoc, diag::note_previous_default_assoc); in ParseGenericSelectionExpression()
2276 DefaultLoc = ConsumeToken(); in ParseGenericSelectionExpression()
2312 return Actions.ActOnGenericSelectionExpr(KeyLoc, DefaultLoc, in ParseGenericSelectionExpression()
DParseStmt.cpp592 SourceLocation DefaultLoc = ConsumeToken(); // eat the 'default'. in ParseDefaultStatement() local
627 return Actions.ActOnDefaultStmt(DefaultLoc, ColonLoc, in ParseDefaultStatement()
DParseExprCXX.cpp633 Intro.DefaultLoc = ConsumeToken(); in ParseLambdaIntroducer()
637 Intro.DefaultLoc = ConsumeToken(); in ParseLambdaIntroducer()
/external/clang/lib/AST/
DExpr.cpp3431 SourceLocation DefaultLoc, in GenericSelectionExpr() argument
3446 GenericLoc(GenericLoc), DefaultLoc(DefaultLoc), RParenLoc(RParenLoc) { in GenericSelectionExpr()
3457 SourceLocation DefaultLoc, in GenericSelectionExpr() argument
3471 DefaultLoc(DefaultLoc), RParenLoc(RParenLoc) { in GenericSelectionExpr()
/external/clang/lib/Sema/
DSemaLambda.cpp443 = Intro.Default == LCD_None? Intro.Range.getBegin() : Intro.DefaultLoc; in ActOnStartOfLambdaDefinition()
DSemaStmt.cpp347 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt() argument
352 Diag(DefaultLoc, diag::err_default_not_in_switch); in ActOnDefaultStmt()
356 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt()
DSemaDeclCXX.cpp10431 void Sema::SetDeclDefaulted(Decl *Dcl, SourceLocation DefaultLoc) { in SetDeclDefaulted() argument
10443 Diag(DefaultLoc, diag::err_default_special_members); in SetDeclDefaulted()
10467 DefineImplicitDefaultConstructor(DefaultLoc, CD); in SetDeclDefaulted()
10474 DefineImplicitCopyConstructor(DefaultLoc, CD); in SetDeclDefaulted()
10480 DefineImplicitCopyAssignment(DefaultLoc, MD); in SetDeclDefaulted()
10487 DefineImplicitDestructor(DefaultLoc, DD); in SetDeclDefaulted()
10494 DefineImplicitMoveConstructor(DefaultLoc, CD); in SetDeclDefaulted()
10500 DefineImplicitMoveAssignment(DefaultLoc, MD); in SetDeclDefaulted()
10508 Diag(DefaultLoc, diag::err_default_special_members); in SetDeclDefaulted()
DSemaExpr.cpp1100 SourceLocation DefaultLoc, in ActOnGenericSelectionExpr() argument
1119 ExprResult ER = CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc, in ActOnGenericSelectionExpr()
1128 SourceLocation DefaultLoc, in CreateGenericSelectionExpr() argument
1197 DefaultLoc, RParenLoc, ContainsUnexpandedParameterPack)); in CreateGenericSelectionExpr()
1253 DefaultLoc, RParenLoc, ContainsUnexpandedParameterPack, in CreateGenericSelectionExpr()
DTreeTransform.h1036 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc, in RebuildDefaultStmt() argument
1039 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
1729 SourceLocation DefaultLoc, in RebuildGenericSelectionExpr() argument
1735 return getSema().CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc, in RebuildGenericSelectionExpr()
/external/clang/include/clang/Sema/
DDeclSpec.h1991 SourceLocation DefaultLoc; member
DSema.h1311 void SetDeclDefaulted(Decl *dcl, SourceLocation DefaultLoc);
2503 StmtResult ActOnDefaultStmt(SourceLocation DefaultLoc,
2887 SourceLocation DefaultLoc,
2893 SourceLocation DefaultLoc,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp789 E->DefaultLoc = ReadSourceLocation(Record, Idx); in VisitGenericSelectionExpr()