Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/test/CodeGenCXX/
Dattr-likelihood-if-branch-weights.cpp39 void NullStmt() { in NullStmt() function
/external/llvm-project/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp31 static bool isEmptyARCMTMacroStatement(NullStmt *S, in isEmptyARCMTMacroStatement()
84 bool VisitNullStmt(NullStmt *S) { in VisitNullStmt()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp32 static bool isEmptyARCMTMacroStatement(NullStmt *S, in isEmptyARCMTMacroStatement()
86 bool VisitNullStmt(NullStmt *S) { in VisitNullStmt()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousSemicolonCheck.cpp36 const auto *Semicolon = Result.Nodes.getNodeAs<NullStmt>("semi"); in check()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp30 if (!isa<NullStmt>(St)) { in handleFallThroughAttr()
DSemaStmt.cpp69 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
1249 if (isa<NullStmt>(Body)) in ActOnWhileStmt()
1670 if (isa<NullStmt>(Body)) in ActOnForStmt()
DSemaChecking.cpp10312 const NullStmt *Body) { in ShouldDiagnoseEmptyStmtBody()
10352 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody()
10383 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DASTResultSynthesizer.cpp214 while (dyn_cast<NullStmt>(last_stmt)) { in SynthesizeBodyResult()
/external/clang/include/clang/Basic/
DStmtNodes.td12 def NullStmt : Stmt;
/external/llvm-project/clang/include/clang/AST/
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()
/external/llvm-project/clang/lib/Sema/
DSemaStmtAttr.cpp28 if (!isa<NullStmt>(St)) { in handleFallThroughAttr()
DSemaStmt.cpp69 return new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro); in ActOnNullStmt()
1379 if (isa<NullStmt>(Body)) in ActOnWhileStmt()
1851 if (isa<NullStmt>(Body)) in ActOnForStmt()
/external/llvm-project/clang/include/clang/Basic/
DStmtNodes.td10 def NullStmt : StmtNode<Stmt>;
/external/clang/include/clang/AST/
DStmt.h511 class NullStmt : public Stmt {
521 NullStmt(SourceLocation L, bool hasLeadingEmptyMacro = false)
526 explicit NullStmt(EmptyShell Empty) : Stmt(NullStmtClass, Empty), in NullStmt() function
DRecursiveASTVisitor.h2036 DEF_TRAVERSE_STMT(NullStmt, {})
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp888 const internal::VariadicDynCastAllOfMatcher<Stmt, NullStmt> nullStmt;
/external/clang/lib/AST/
DStmtProfile.cpp88 void StmtProfiler::VisitNullStmt(const NullStmt *S) { in VisitNullStmt()
DStmtPrinter.cpp134 void StmtPrinter::VisitNullStmt(NullStmt *Node) { in VisitNullStmt()
/external/llvm-project/clang/lib/Tooling/Syntax/
DBuildTree.cpp1393 bool WalkUpFromNullStmt(NullStmt *S) { in WalkUpFromNullStmt()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp1878 TEST_P(ASTMatchersTest, NullStmt) { in TEST_P() argument
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1629 const internal::VariadicDynCastAllOfMatcher<Stmt, NullStmt> nullStmt;
/external/llvm-project/clang/lib/AST/
DStmtProfile.cpp237 void StmtProfiler::VisitNullStmt(const NullStmt *S) { in VisitNullStmt()
DStmtPrinter.cpp192 void StmtPrinter::VisitNullStmt(NullStmt *Node) { in VisitNullStmt()
/external/llvm-project/clang/lib/Serialization/
DASTReaderStmt.cpp146 void ASTStmtReader::VisitNullStmt(NullStmt *S) { in VisitNullStmt()
2673 S = new (Context) NullStmt(Empty); in ReadStmtFromStream()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp126 void ASTStmtReader::VisitNullStmt(NullStmt *S) { in VisitNullStmt()
2856 S = new (Context) NullStmt(Empty); in ReadStmtFromStream()

12