Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/unittests/Tooling/
H A DRefactoringTest.cpp1095 SourceLocation DefaultLoc; member in clang::tooling::AtomicChangeTest
1100 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F()
1182 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F()
1188 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F()
1203 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F()
1214 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F()
1228 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F()
1242 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F()
1258 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F()
1275 AtomicChange Change(Context.Sources, DefaultLoc); in TEST_F()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaOpenMP.cpp7779 Stack(Stack), DefaultLoc(DefaultLoc), ConditionLoc(DefaultLoc) {} in OpenMPIterationSpaceChecker()
8538 Diff = SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, Diff.get()); in calculateNumIters()
8568 SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, IS.MinValue); in buildNumIterations()
8588 SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, IS.MaxValue); in buildNumIterations()
8645 SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, IS.MinValue); in buildNumIterations()
8665 SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, IS.MaxValue); in buildNumIterations()
8700 DefaultLoc, DefaultLoc, MinGreaterMax, UBMin, UBMax); in buildNumIterations()
8708 DefaultLoc, DefaultLoc, MinGreaterMax, UBMax, UBMin); in buildNumIterations()
8807 Diff = SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, Diff.get()); in buildMinMaxValues()
8819 Diff = SemaRef.ActOnParenExpr(DefaultLoc, DefaultLoc, Diff.get()); in buildMinMaxValues()
[all …]
H A DSemaLambda.cpp1014 buildLambdaScope(LSI, Method, Intro.Range, Intro.Default, Intro.DefaultLoc, in ActOnStartOfLambdaDefinition()
1032 Diag(Intro.DefaultLoc, diag::err_capture_default_non_local); in ActOnStartOfLambdaDefinition()
1039 = Intro.Default == LCD_None? Intro.Range.getBegin() : Intro.DefaultLoc; in ActOnStartOfLambdaDefinition()
H A DSemaDeclCXX.cpp6568 SourceLocation DefaultLoc) { in DefineDefaultedFunction() argument
6575 S.DefineImplicitDefaultConstructor(DefaultLoc, in DefineDefaultedFunction()
6582 S.DefineImplicitCopyAssignment(DefaultLoc, cast<CXXMethodDecl>(FD)); in DefineDefaultedFunction()
6585 S.DefineImplicitDestructor(DefaultLoc, cast<CXXDestructorDecl>(FD)); in DefineDefaultedFunction()
6591 S.DefineImplicitMoveAssignment(DefaultLoc, cast<CXXMethodDecl>(FD)); in DefineDefaultedFunction()
17313 void Sema::SetDeclDefaulted(Decl *Dcl, SourceLocation DefaultLoc) { in SetDeclDefaulted() argument
17321 Diag(DefaultLoc, diag::err_defaulted_comparison_template); in SetDeclDefaulted()
17326 Diag(DefaultLoc, diag::err_default_special_members) in SetDeclDefaulted()
17340 Diag(DefaultLoc, diag::err_default_special_members) in SetDeclDefaulted()
17349 Diag(DefaultLoc, getLangOpts().CPlusPlus20 in SetDeclDefaulted()
[all …]
H A DSemaStmt.cpp540 Sema::ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, in ActOnDefaultStmt() argument
543 Diag(DefaultLoc, diag::err_default_not_in_switch); in ActOnDefaultStmt()
547 DefaultStmt *DS = new (Context) DefaultStmt(DefaultLoc, ColonLoc, SubStmt); in ActOnDefaultStmt()
H A DTreeTransform.h1298 StmtResult RebuildDefaultStmt(SourceLocation DefaultLoc, in RebuildDefaultStmt() argument
1301 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt, in RebuildDefaultStmt()
2898 SourceLocation DefaultLoc, in RebuildGenericSelectionExpr() argument
2903 return getSema().CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc, in RebuildGenericSelectionExpr()
H A DSemaExpr.cpp1611 SourceLocation DefaultLoc, in ActOnGenericSelectionExpr() argument
1627 ExprResult ER = CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc, in ActOnGenericSelectionExpr()
1637 SourceLocation DefaultLoc, in CreateGenericSelectionExpr() argument
1751 Exprs, DefaultLoc, RParenLoc, in CreateGenericSelectionExpr()
1808 Context, KeyLoc, ControllingExpr, Types, Exprs, DefaultLoc, RParenLoc, in CreateGenericSelectionExpr()
/llvm-project-15.0.7/clang/lib/AST/
H A DExpr.cpp4219 SourceLocation DefaultLoc, SourceLocation RParenLoc, in GenericSelectionExpr() argument
4225 DefaultLoc(DefaultLoc), RParenLoc(RParenLoc) { in GenericSelectionExpr()
4244 SourceLocation DefaultLoc, SourceLocation RParenLoc, in GenericSelectionExpr() argument
4249 DefaultLoc(DefaultLoc), RParenLoc(RParenLoc) { in GenericSelectionExpr()
4270 SourceLocation DefaultLoc, SourceLocation RParenLoc, in Create() argument
4277 Context, GenericLoc, ControllingExpr, AssocTypes, AssocExprs, DefaultLoc, in Create()
4284 SourceLocation DefaultLoc, SourceLocation RParenLoc, in Create() argument
4291 Context, GenericLoc, ControllingExpr, AssocTypes, AssocExprs, DefaultLoc, in Create()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExpr.cpp3265 SourceLocation DefaultLoc; in ParseGenericSelectionExpression() local
3273 if (!DefaultLoc.isInvalid()) { in ParseGenericSelectionExpression()
3275 Diag(DefaultLoc, diag::note_previous_default_assoc); in ParseGenericSelectionExpression()
3279 DefaultLoc = ConsumeToken(); in ParseGenericSelectionExpression()
3312 return Actions.ActOnGenericSelectionExpr(KeyLoc, DefaultLoc, in ParseGenericSelectionExpression()
H A DParseStmt.cpp892 SourceLocation DefaultLoc = ConsumeToken(); // eat the 'default'. in ParseDefaultStatement() local
926 return Actions.ActOnDefaultStmt(DefaultLoc, ColonLoc, in ParseDefaultStatement()
H A DParseExprCXX.cpp861 Intro.DefaultLoc = ConsumeToken(); in ParseLambdaIntroducer()
870 Intro.DefaultLoc = ConsumeToken(); in ParseLambdaIntroducer()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h5648 SourceLocation DefaultLoc, RParenLoc; variable
5749 ArrayRef<Expr *> AssocExprs, SourceLocation DefaultLoc,
5758 ArrayRef<Expr *> AssocExprs, SourceLocation DefaultLoc,
5770 ArrayRef<Expr *> AssocExprs, SourceLocation DefaultLoc,
5778 ArrayRef<Expr *> AssocExprs, SourceLocation DefaultLoc,
5878 SourceLocation getDefaultLoc() const { return DefaultLoc; } in getDefaultLoc()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDeclSpec.h2733 SourceLocation DefaultLoc; member
H A DSema.h2975 void SetDeclDefaulted(Decl *dcl, SourceLocation DefaultLoc);
4942 StmtResult ActOnDefaultStmt(SourceLocation DefaultLoc,
5534 SourceLocation DefaultLoc,
5540 SourceLocation DefaultLoc,
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderStmt.cpp1353 E->DefaultLoc = readSourceLocation(); in VisitGenericSelectionExpr()