Home
last modified time | relevance | path

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

/external/clang/lib/Analysis/
DReachableCode.cpp363 clang::reachable_code::Callback &CB);
371 clang::reachable_code::Callback &CB);
443 clang::reachable_code::Callback &CB) { in scanBackwards()
571 clang::reachable_code::Callback &CB) { in reportDeadCode()
573 reachable_code::UnreachableKind UK = reachable_code::UK_Other; in reportDeadCode()
576 UK = reachable_code::UK_Break; in reportDeadCode()
582 UK = reachable_code::UK_Return; in reportDeadCode()
587 if (UK == reachable_code::UK_Other) { in reportDeadCode()
601 CB.HandleUnreachable(reachable_code::UK_Loop_Increment, in reportDeadCode()
628 namespace clang { namespace reachable_code { namespace
/external/clang/include/clang/Analysis/Analyses/
DReachableCode.h38 namespace reachable_code {
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp62 class UnreachableCodeHandler : public reachable_code::Callback {
67 void HandleUnreachable(reachable_code::UnreachableKind UK, in HandleUnreachable()
74 case reachable_code::UK_Break: in HandleUnreachable()
77 case reachable_code::UK_Return: in HandleUnreachable()
80 case reachable_code::UK_Loop_Increment: in HandleUnreachable()
83 case reachable_code::UK_Other: in HandleUnreachable()
116 reachable_code::FindUnreachableCode(AC, S.getPreprocessor(), UC); in CheckUnreachable()
304 unsigned count = reachable_code::ScanReachableFromBlock(&cfg->getEntry(), in CheckFallThrough()
318 count += reachable_code::ScanReachableFromBlock(B, live); in CheckFallThrough()