Home
last modified time | relevance | path

Searched refs:StmtLoc (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang/lib/Parse/
DParseStmt.cpp1239 SourceLocation StmtLoc; member
1246 : P(P), StmtLoc(SL), PrevLoc(P.getCurToken().getLocation()), in MisleadingIndentationChecker()
1250 StmtLoc = P.MisleadingIndentationElseLoc; in MisleadingIndentationChecker()
1299 StmtLoc.isMacroID() || in Check()
1310 unsigned StmtColNum = getVisualIndentation(SM, StmtLoc); in Check()
1315 SM.getPresumedLineNumber(StmtLoc) != in Check()
1320 P.Diag(StmtLoc, diag::note_previous_statement); in Check()
/external/clang/lib/Sema/
DSemaExprCXX.cpp3065 SourceLocation StmtLoc, in ActOnConditionVariable() argument
3068 CheckConditionVariable(cast<VarDecl>(ConditionVar), StmtLoc, CK); in ActOnConditionVariable()
3071 return ConditionResult(*this, ConditionVar, MakeFullExpr(E.get(), StmtLoc), in ActOnConditionVariable()
3078 SourceLocation StmtLoc, in CheckConditionVariable() argument
3105 return CheckBooleanCondition(StmtLoc, Condition.get()); in CheckConditionVariable()
3108 return CheckBooleanCondition(StmtLoc, Condition.get(), true); in CheckConditionVariable()
3111 return CheckSwitchCondition(StmtLoc, Condition.get()); in CheckConditionVariable()
DSemaChecking.cpp10311 SourceLocation StmtLoc, in ShouldDiagnoseEmptyStmtBody() argument
10324 unsigned StmtLine = SourceMgr.getPresumedLineNumber(StmtLoc, in ShouldDiagnoseEmptyStmtBody()
10343 void Sema::DiagnoseEmptyStmtBody(SourceLocation StmtLoc, in DiagnoseEmptyStmtBody() argument
10357 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()
10368 SourceLocation StmtLoc; in DiagnoseEmptyLoopBody() local
10372 StmtLoc = FS->getRParenLoc(); in DiagnoseEmptyLoopBody()
10376 StmtLoc = WS->getCond()->getSourceRange().getEnd(); in DiagnoseEmptyLoopBody()
10392 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()
/external/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp3776 SourceLocation StmtLoc, in ActOnConditionVariable() argument
3779 CheckConditionVariable(cast<VarDecl>(ConditionVar), StmtLoc, CK); in ActOnConditionVariable()
3782 return ConditionResult(*this, ConditionVar, MakeFullExpr(E.get(), StmtLoc), in ActOnConditionVariable()
3789 SourceLocation StmtLoc, in CheckConditionVariable() argument
3813 return CheckBooleanCondition(StmtLoc, Condition.get()); in CheckConditionVariable()
3816 return CheckBooleanCondition(StmtLoc, Condition.get(), true); in CheckConditionVariable()
3819 return CheckSwitchCondition(StmtLoc, Condition.get()); in CheckConditionVariable()
DSemaChecking.cpp15025 SourceLocation StmtLoc, in ShouldDiagnoseEmptyStmtBody() argument
15037 unsigned StmtLine = SourceMgr.getPresumedLineNumber(StmtLoc, in ShouldDiagnoseEmptyStmtBody()
15055 void Sema::DiagnoseEmptyStmtBody(SourceLocation StmtLoc, in DiagnoseEmptyStmtBody() argument
15069 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()
15080 SourceLocation StmtLoc; in DiagnoseEmptyLoopBody() local
15084 StmtLoc = FS->getRParenLoc(); in DiagnoseEmptyLoopBody()
15088 StmtLoc = WS->getCond()->getSourceRange().getEnd(); in DiagnoseEmptyLoopBody()
15104 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()
/external/clang/include/clang/Sema/
DSema.h3587 void DiagnoseEmptyStmtBody(SourceLocation StmtLoc,
9015 SourceLocation StmtLoc,
9021 SourceLocation StmtLoc,
/external/llvm-project/clang/include/clang/Sema/
DSema.h4727 void DiagnoseEmptyStmtBody(SourceLocation StmtLoc,
11634 SourceLocation StmtLoc,
11640 SourceLocation StmtLoc,