Searched refs:NullStmt (Results 1 – 22 of 22) sorted by relevance
| /freebsd-14-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
| HD | TransEmptyStatementsAndDealloc.cpp | 31 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/ |
| HD | ASTResultSynthesizer.cpp | 236 while (isa<NullStmt>(last_stmt)) { in SynthesizeBodyResult()
|
| /freebsd-14-stable/contrib/llvm-project/clang/include/clang/AST/ |
| HD | Stmt.h | 126 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()
|
| HD | RecursiveASTVisitor.h | 2438 DEF_TRAVERSE_STMT(NullStmt, {})
|
| /freebsd-14-stable/contrib/llvm-project/clang/include/clang/Basic/ |
| HD | StmtNodes.td | 10 def NullStmt : StmtNode<Stmt>;
|
| HD | Attr.td | 1652 // 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/ |
| HD | ASTMatchersInternal.cpp | 924 const internal::VariadicDynCastAllOfMatcher<Stmt, NullStmt> nullStmt;
|
| /freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/ |
| HD | SemaStmt.cpp | 76 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt() 1732 if (isa<NullStmt>(Body)) in ActOnWhileStmt() 2214 if (isa<NullStmt>(Body)) in ActOnForStmt()
|
| HD | SemaChecking.cpp | 13458 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()
|
| HD | TreeTransform.h | 7803 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()
|
| HD | SemaDecl.cpp | 16181 if (!isa<AsmStmt>(S) && !isa<NullStmt>(S)) { in ActOnFinishFunctionBody()
|
| /freebsd-14-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| HD | BuildTree.cpp | 1429 bool WalkUpFromNullStmt(NullStmt *S) { in WalkUpFromNullStmt()
|
| /freebsd-14-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
| HD | Compiler.cpp | 4220 if (isa<NullStmt>(S)) in visitLoopBody() 4618 assert(isa<NullStmt>(S->getSubStmt())); in visitAttributedStmt()
|
| /freebsd-14-stable/contrib/llvm-project/clang/lib/Serialization/ |
| HD | ASTReaderStmt.cpp | 147 void ASTStmtReader::VisitNullStmt(NullStmt *S) { in VisitNullStmt() 2932 S = new (Context) NullStmt(Empty); in ReadStmtFromStream()
|
| HD | ASTWriterStmt.cpp | 131 void ASTStmtWriter::VisitNullStmt(NullStmt *S) { in VisitNullStmt()
|
| /freebsd-14-stable/contrib/llvm-project/clang/lib/AST/ |
| HD | StmtProfile.cpp | 257 void StmtProfiler::VisitNullStmt(const NullStmt *S) { in VisitNullStmt()
|
| HD | StmtPrinter.cpp | 256 void StmtPrinter::VisitNullStmt(NullStmt *Node) { in VisitNullStmt()
|
| HD | ASTImporter.cpp | 534 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/ |
| HD | CGStmt.cpp | 977 if (!Body || isa<NullStmt>(Body)) in hasEmptyLoopBody()
|
| HD | CGOpenMPRuntime.cpp | 5990 if (isa<AsmStmt>(S) || isa<NullStmt>(S) || isa<OMPFlushDirective>(S) || in getSingleCompoundChild()
|
| /freebsd-14-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| HD | ASTMatchers.h | 2406 extern const internal::VariadicDynCastAllOfMatcher<Stmt, NullStmt> nullStmt;
|
| /freebsd-14-stable/contrib/llvm-project/clang/lib/Analysis/ |
| HD | CFG.cpp | 2473 assert((!isFallthrough || isa<NullStmt>(A->getSubStmt())) && in isFallthroughStatement()
|