Home
last modified time | relevance | path

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

/freebsd-14-stable/contrib/llvm-project/clang/lib/ARCMigrate/
HDTransEmptyStatementsAndDealloc.cpp31 static bool isEmptyARCMTMacroStatement(NullStmt *S, in isEmptyARCMTMacroStatement()
84 bool VisitNullStmt(NullStmt *S) { in VisitNullStmt()
/freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
HDASTResultSynthesizer.cpp236 while (isa<NullStmt>(last_stmt)) { in SynthesizeBodyResult()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/
HDStmt.h126 friend class NullStmt; in alignas() local
1569 class NullStmt : public Stmt {
1571 NullStmt(SourceLocation L, bool hasLeadingEmptyMacro = false)
1578 explicit NullStmt(EmptyShell Empty) : Stmt(NullStmtClass, Empty) {} in NullStmt() function
1730 if (!isa<NullStmt>(B)) in getStmtExprResult()
HDRecursiveASTVisitor.h2438 DEF_TRAVERSE_STMT(NullStmt, {})
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/Basic/
HDStmtNodes.td10 def NullStmt : StmtNode<Stmt>;
HDAttr.td1652 // The attribute only applies to a NullStmt, but we have special fix-it
1654 let Subjects = SubjectList<[NullStmt, SwitchCase], ErrorDiag,
1672 let Subjects = SubjectList<[NullStmt], ErrorDiag, "empty statements">;
/freebsd-14-stable/contrib/llvm-project/clang/lib/ASTMatchers/
HDASTMatchersInternal.cpp924 const internal::VariadicDynCastAllOfMatcher<Stmt, NullStmt> nullStmt;
/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaStmt.cpp76 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
1732 if (isa<NullStmt>(Body)) in ActOnWhileStmt()
2214 if (isa<NullStmt>(Body)) in ActOnForStmt()
HDSemaChecking.cpp13458 const NullStmt *Body) { in ShouldDiagnoseEmptyStmtBody()
13496 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody()
13527 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody()
HDTreeTransform.h7803 TreeTransform<Derived>::TransformNullStmt(NullStmt *S) { in TransformNullStmt()
8973 return new (getSema().Context) NullStmt(S->getKeywordLoc()); in TransformMSDependentExistsStmt()
8979 return new (getSema().Context) NullStmt(S->getKeywordLoc()); in TransformMSDependentExistsStmt()
HDSemaDecl.cpp16181 if (!isa<AsmStmt>(S) && !isa<NullStmt>(S)) { in ActOnFinishFunctionBody()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
HDBuildTree.cpp1429 bool WalkUpFromNullStmt(NullStmt *S) { in WalkUpFromNullStmt()
/freebsd-14-stable/contrib/llvm-project/clang/lib/AST/Interp/
HDCompiler.cpp4220 if (isa<NullStmt>(S)) in visitLoopBody()
4618 assert(isa<NullStmt>(S->getSubStmt())); in visitAttributedStmt()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Serialization/
HDASTReaderStmt.cpp147 void ASTStmtReader::VisitNullStmt(NullStmt *S) { in VisitNullStmt()
2932 S = new (Context) NullStmt(Empty); in ReadStmtFromStream()
HDASTWriterStmt.cpp131 void ASTStmtWriter::VisitNullStmt(NullStmt *S) { in VisitNullStmt()
/freebsd-14-stable/contrib/llvm-project/clang/lib/AST/
HDStmtProfile.cpp257 void StmtProfiler::VisitNullStmt(const NullStmt *S) { in VisitNullStmt()
HDStmtPrinter.cpp256 void StmtPrinter::VisitNullStmt(NullStmt *Node) { in VisitNullStmt()
HDASTImporter.cpp534 ExpectedStmt VisitNullStmt(NullStmt *S);
6836 ExpectedStmt ASTNodeImporter::VisitNullStmt(NullStmt *S) { in VisitNullStmt()
6840 return new (Importer.getToContext()) NullStmt( in VisitNullStmt()
/freebsd-14-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGStmt.cpp977 if (!Body || isa<NullStmt>(Body)) in hasEmptyLoopBody()
HDCGOpenMPRuntime.cpp5990 if (isa<AsmStmt>(S) || isa<NullStmt>(S) || isa<OMPFlushDirective>(S) || in getSingleCompoundChild()
/freebsd-14-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchers.h2406 extern const internal::VariadicDynCastAllOfMatcher<Stmt, NullStmt> nullStmt;
/freebsd-14-stable/contrib/llvm-project/clang/lib/Analysis/
HDCFG.cpp2473 assert((!isFallthrough || isa<NullStmt>(A->getSubStmt())) && in isFallthroughStatement()