Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParseExpr.cpp2527 SourceLocation DefaultLoc; in ParseGenericSelectionExpression() local
2535 if (!DefaultLoc.isInvalid()) { in ParseGenericSelectionExpression()
2537 Diag(DefaultLoc, diag::note_previous_default_assoc); in ParseGenericSelectionExpression()
2541 DefaultLoc = ConsumeToken(); in ParseGenericSelectionExpression()
2574 return Actions.ActOnGenericSelectionExpr(KeyLoc, DefaultLoc, in ParseGenericSelectionExpression()
DParseStmt.cpp792 SourceLocation DefaultLoc = ConsumeToken(); // eat the 'default'. in ParseDefaultStatement() local
827 return Actions.ActOnDefaultStmt(DefaultLoc, ColonLoc, in ParseDefaultStatement()
DParseExprCXX.cpp802 Intro.DefaultLoc = ConsumeToken(); in ParseLambdaIntroducer()
806 Intro.DefaultLoc = ConsumeToken(); in ParseLambdaIntroducer()
/external/clang/lib/Sema/
DSemaOpenMP.cpp3905 SourceLocation DefaultLoc; member in __anone74a4b2f1411::OpenMPIterationSpaceChecker
3936 OpenMPIterationSpaceChecker(Sema &SemaRef, SourceLocation DefaultLoc) in OpenMPIterationSpaceChecker() argument
3937 : SemaRef(SemaRef), DefaultLoc(DefaultLoc), ConditionLoc(DefaultLoc) {} in OpenMPIterationSpaceChecker()
4119 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_init); in CheckInit()
4218 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_cond) << LCDecl; in CheckCond()
4311 SemaRef.Diag(DefaultLoc, diag::err_omp_loop_not_canonical_incr) << LCDecl; in CheckInc()
4406 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Sub, Upper, Lower); in BuildNumIterations()
4423 S, DefaultLoc, BO_Sub, Diff.get(), in BuildNumIterations()
4432 Diff = SemaRef.BuildBinOp(S, DefaultLoc, BO_Add, Diff.get(), NewStep.get()); in BuildNumIterations()
4437 Diff = SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, Diff.get()); in BuildNumIterations()
[all …]
DSemaLambda.cpp894 buildLambdaScope(LSI, Method, Intro.Range, Intro.Default, Intro.DefaultLoc, in ActOnStartOfLambdaDefinition()
912 Diag(Intro.DefaultLoc, diag::err_capture_default_non_local); in ActOnStartOfLambdaDefinition()
919 = Intro.Default == LCD_None? Intro.Range.getBegin() : Intro.DefaultLoc; in ActOnStartOfLambdaDefinition()
DSemaDeclCXX.cpp4872 SourceLocation DefaultLoc) { in DefineImplicitSpecialMember() argument
4875 S.DefineImplicitDefaultConstructor(DefaultLoc, in DefineImplicitSpecialMember()
4879 S.DefineImplicitCopyConstructor(DefaultLoc, cast<CXXConstructorDecl>(MD)); in DefineImplicitSpecialMember()
4882 S.DefineImplicitCopyAssignment(DefaultLoc, MD); in DefineImplicitSpecialMember()
4885 S.DefineImplicitDestructor(DefaultLoc, cast<CXXDestructorDecl>(MD)); in DefineImplicitSpecialMember()
4888 S.DefineImplicitMoveConstructor(DefaultLoc, cast<CXXConstructorDecl>(MD)); in DefineImplicitSpecialMember()
4891 S.DefineImplicitMoveAssignment(DefaultLoc, MD); in DefineImplicitSpecialMember()
13080 void Sema::SetDeclDefaulted(Decl *Dcl, SourceLocation DefaultLoc) { in SetDeclDefaulted() argument
13093 Diag(DefaultLoc, diag::err_default_special_members); in SetDeclDefaulted()
13117 DefineImplicitSpecialMember(*this, MD, DefaultLoc); in SetDeclDefaulted()
[all …]
DSemaStmt.cpp446 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt() argument
451 Diag(DefaultLoc, diag::err_default_not_in_switch); in ActOnDefaultStmt()
455 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt()
DTreeTransform.h1146 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc, in RebuildDefaultStmt() argument
1149 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
2333 SourceLocation DefaultLoc, in RebuildGenericSelectionExpr() argument
2338 return getSema().CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc, in RebuildGenericSelectionExpr()
DSemaExpr.cpp1391 SourceLocation DefaultLoc, in ActOnGenericSelectionExpr() argument
1407 ExprResult ER = CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc, in ActOnGenericSelectionExpr()
1417 SourceLocation DefaultLoc, in CreateGenericSelectionExpr() argument
1502 Context, KeyLoc, ControllingExpr, Types, Exprs, DefaultLoc, RParenLoc, in CreateGenericSelectionExpr()
1555 Context, KeyLoc, ControllingExpr, Types, Exprs, DefaultLoc, RParenLoc, in CreateGenericSelectionExpr()
/external/clang/lib/AST/
DExpr.cpp3463 SourceLocation DefaultLoc, in GenericSelectionExpr() argument
3478 GenericLoc(GenericLoc), DefaultLoc(DefaultLoc), RParenLoc(RParenLoc) { in GenericSelectionExpr()
3489 SourceLocation DefaultLoc, in GenericSelectionExpr() argument
3503 DefaultLoc(DefaultLoc), RParenLoc(RParenLoc) { in GenericSelectionExpr()
/external/clang/include/clang/AST/
DExpr.h4418 SourceLocation GenericLoc, DefaultLoc, RParenLoc; variable
4425 SourceLocation DefaultLoc, SourceLocation RParenLoc,
4434 SourceLocation DefaultLoc, SourceLocation RParenLoc,
4443 SourceLocation getDefaultLoc() const { return DefaultLoc; } in getDefaultLoc()
/external/clang/include/clang/Sema/
DDeclSpec.h2343 SourceLocation DefaultLoc; member
DSema.h1772 void SetDeclDefaulted(Decl *dcl, SourceLocation DefaultLoc);
3388 StmtResult ActOnDefaultStmt(SourceLocation DefaultLoc,
3878 SourceLocation DefaultLoc,
3884 SourceLocation DefaultLoc,
/external/clang/lib/Serialization/
DASTReaderStmt.cpp929 E->DefaultLoc = ReadSourceLocation(Record, Idx); in VisitGenericSelectionExpr()