/external/llvm-project/clang/lib/Parse/ |
D | ParseStmt.cpp | 1239 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/ |
D | SemaExprCXX.cpp | 3065 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()
|
D | SemaChecking.cpp | 10311 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/ |
D | SemaExprCXX.cpp | 3776 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()
|
D | SemaChecking.cpp | 15025 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/ |
D | Sema.h | 3587 void DiagnoseEmptyStmtBody(SourceLocation StmtLoc, 9015 SourceLocation StmtLoc, 9021 SourceLocation StmtLoc,
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 4727 void DiagnoseEmptyStmtBody(SourceLocation StmtLoc, 11634 SourceLocation StmtLoc, 11640 SourceLocation StmtLoc,
|