Home
last modified time | relevance | path

Searched refs:StmtRange (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantControlFlowCheck.cpp74 const SourceRange &StmtRange, const char *const Diag) { in issueDiagnostic() argument
76 if (isLocationInMacroExpansion(SM, StmtRange.getBegin())) in issueDiagnostic()
86 Start = StmtRange.getBegin(); in issueDiagnostic()
89 StmtRange.getEnd(), tok::semi, SM, getLangOpts(), in issueDiagnostic()
92 diag(StmtRange.getBegin(), Diag) << FixItHint::CreateRemoval(RemovedRange); in issueDiagnostic()
DRedundantControlFlowCheck.h42 const CompoundStmt *Block, const SourceRange &StmtRange,
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DPreferMemberInitializerCheck.cpp173 CharSourceRange StmtRange = in check() local
176 Diag << FixItHint::CreateRemoval(StmtRange); in check()
234 CharSourceRange StmtRange = in check() local
237 Diag << FixItHint::CreateRemoval(StmtRange); in check()