Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DSourceExtraction.cpp29 bool isSemicolonRequiredAfter(const Stmt *S) { in isSemicolonRequiredAfter() function
33 return isSemicolonRequiredAfter(If->getElse() ? If->getElse() in isSemicolonRequiredAfter()
36 return isSemicolonRequiredAfter(While->getBody()); in isSemicolonRequiredAfter()
38 return isSemicolonRequiredAfter(For->getBody()); in isSemicolonRequiredAfter()
40 return isSemicolonRequiredAfter(CXXFor->getBody()); in isSemicolonRequiredAfter()
42 return isSemicolonRequiredAfter(ObjCFor->getBody()); in isSemicolonRequiredAfter()
44 return isSemicolonRequiredAfter(Switch->getBody()); in isSemicolonRequiredAfter()
46 return isSemicolonRequiredAfter(Case->getSubStmt()); in isSemicolonRequiredAfter()
91 bool NeedsSemi = isSemicolonRequiredAfter(S); in compute()