Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp31 static bool isEmptyARCMTMacroStatement(NullStmt *S, in isEmptyARCMTMacroStatement()
84 bool VisitNullStmt(NullStmt *S) { in VisitNullStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h109 friend class NullStmt; variable
1363 class NullStmt : public Stmt {
1365 NullStmt(SourceLocation L, bool hasLeadingEmptyMacro = false)
1372 explicit NullStmt(EmptyShell Empty) : Stmt(NullStmtClass, Empty) {} in NullStmt() function
1492 if (!isa<NullStmt>(B)) in getStmtExprResult()
H A DRecursiveASTVisitor.h2260 DEF_TRAVERSE_STMT(NullStmt, {})
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DStmtNodes.td10 def NullStmt : StmtNode<Stmt>;
H A DAttr.td1355 // The attribute only applies to a NullStmt, but we have special fix-it
1357 let Subjects = SubjectList<[NullStmt, SwitchCase], ErrorDiag,
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp900 const internal::VariadicDynCastAllOfMatcher<Stmt, NullStmt> nullStmt;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp70 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
1659 if (isa<NullStmt>(Body)) in ActOnWhileStmt()
2143 if (isa<NullStmt>(Body)) in ActOnForStmt()
H A DSemaChecking.cpp15295 const NullStmt *Body) { in ShouldDiagnoseEmptyStmtBody()
15333 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody()
15364 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody()
H A DTreeTransform.h7164 TreeTransform<Derived>::TransformNullStmt(NullStmt *S) { in TransformNullStmt()
7371 Then = new (getSema().Context) NullStmt(S->getThen()->getBeginLoc()); in TransformIfStmt()
8270 return new (getSema().Context) NullStmt(S->getKeywordLoc()); in TransformMSDependentExistsStmt()
8276 return new (getSema().Context) NullStmt(S->getKeywordLoc()); in TransformMSDependentExistsStmt()
H A DSemaDecl.cpp14744 if (!isa<AsmStmt>(S) && !isa<NullStmt>(S)) { in ActOnFinishFunctionBody()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp1423 bool WalkUpFromNullStmt(NullStmt *S) { in WalkUpFromNullStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp146 void ASTStmtReader::VisitNullStmt(NullStmt *S) { in VisitNullStmt()
2704 S = new (Context) NullStmt(Empty); in ReadStmtFromStream()
H A DASTWriterStmt.cpp74 void ASTStmtWriter::VisitNullStmt(NullStmt *S) { in VisitNullStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmtProfile.cpp237 void StmtProfiler::VisitNullStmt(const NullStmt *S) { in VisitNullStmt()
H A DStmtPrinter.cpp191 void StmtPrinter::VisitNullStmt(NullStmt *Node) { in VisitNullStmt()
H A DASTImporter.cpp543 ExpectedStmt VisitNullStmt(NullStmt *S);
6110 ExpectedStmt ASTNodeImporter::VisitNullStmt(NullStmt *S) { in VisitNullStmt()
6114 return new (Importer.getToContext()) NullStmt( in VisitNullStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2317 extern const internal::VariadicDynCastAllOfMatcher<Stmt, NullStmt> nullStmt;
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp6559 if (isa<AsmStmt>(S) || isa<NullStmt>(S) || isa<OMPFlushDirective>(S) || in getSingleCompoundChild()