diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2025-01-10 19:25:56 +0900 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2025-01-10 19:25:56 +0900 |
commit | 63f5dc16d6bfca0512fb034052b41d13c3751e20 (patch) | |
tree | e70266be1fda941e0974e71e3d2c1cf080081311 /clang/lib/AST/TextNodeDumper.cpp | |
parent | 9e5734688ed3d5f6b3fb76a26b3d90a736d60781 (diff) | |
parent | 397ac44f623f891d8f05d6673a95984ac0a26671 (diff) | |
download | llvm-users/chapuni/cov/single/unify.zip llvm-users/chapuni/cov/single/unify.tar.gz llvm-users/chapuni/cov/single/unify.tar.bz2 |
Merge branch 'main' into users/chapuni/cov/single/unifyusers/chapuni/cov/single/unify
Diffstat (limited to 'clang/lib/AST/TextNodeDumper.cpp')
-rw-r--r-- | clang/lib/AST/TextNodeDumper.cpp | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/clang/lib/AST/TextNodeDumper.cpp b/clang/lib/AST/TextNodeDumper.cpp index 00e3af3..eedd8fa 100644 --- a/clang/lib/AST/TextNodeDumper.cpp +++ b/clang/lib/AST/TextNodeDumper.cpp @@ -2931,7 +2931,6 @@ void TextNodeDumper::VisitOpenACCConstructStmt(const OpenACCConstructStmt *S) { OS << " " << S->getDirectiveKind(); } void TextNodeDumper::VisitOpenACCLoopConstruct(const OpenACCLoopConstruct *S) { - if (S->isOrphanedLoopConstruct()) OS << " <orphan>"; else @@ -2940,40 +2939,44 @@ void TextNodeDumper::VisitOpenACCLoopConstruct(const OpenACCLoopConstruct *S) { void TextNodeDumper::VisitOpenACCCombinedConstruct( const OpenACCCombinedConstruct *S) { - OS << " " << S->getDirectiveKind(); + VisitOpenACCConstructStmt(S); } void TextNodeDumper::VisitOpenACCDataConstruct(const OpenACCDataConstruct *S) { - OS << " " << S->getDirectiveKind(); + VisitOpenACCConstructStmt(S); } void TextNodeDumper::VisitOpenACCEnterDataConstruct( const OpenACCEnterDataConstruct *S) { - OS << " " << S->getDirectiveKind(); + VisitOpenACCConstructStmt(S); } void TextNodeDumper::VisitOpenACCExitDataConstruct( const OpenACCExitDataConstruct *S) { - OS << " " << S->getDirectiveKind(); + VisitOpenACCConstructStmt(S); } void TextNodeDumper::VisitOpenACCHostDataConstruct( const OpenACCHostDataConstruct *S) { - OS << " " << S->getDirectiveKind(); + VisitOpenACCConstructStmt(S); } void TextNodeDumper::VisitOpenACCWaitConstruct(const OpenACCWaitConstruct *S) { - OS << " " << S->getDirectiveKind(); + VisitOpenACCConstructStmt(S); } void TextNodeDumper::VisitOpenACCInitConstruct(const OpenACCInitConstruct *S) { - OS << " " << S->getDirectiveKind(); + VisitOpenACCConstructStmt(S); } void TextNodeDumper::VisitOpenACCShutdownConstruct( const OpenACCShutdownConstruct *S) { - OS << " " << S->getDirectiveKind(); + VisitOpenACCConstructStmt(S); } void TextNodeDumper::VisitOpenACCSetConstruct(const OpenACCSetConstruct *S) { - OS << " " << S->getDirectiveKind(); + VisitOpenACCConstructStmt(S); +} +void TextNodeDumper::VisitOpenACCUpdateConstruct( + const OpenACCUpdateConstruct *S) { + VisitOpenACCConstructStmt(S); } void TextNodeDumper::VisitEmbedExpr(const EmbedExpr *S) { |