compilerplugins/clang/sharedvisitor/sharedvisitor.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit eb5283064e60f5f133a0b37adf21651d16e9c2e4 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Mon Jul 1 15:36:41 2019 +0200 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Tue Jul 2 09:52:30 2019 +0200 update clang sharedvisitor.cxx This should have been included in 9fbedb792993. Change-Id: I3b8b1a463c3f85d6cd4a4db14edcfedf01d7e5a9 Reviewed-on: https://gerrit.libreoffice.org/74956 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lu...@collabora.com> diff --git a/compilerplugins/clang/sharedvisitor/sharedvisitor.cxx b/compilerplugins/clang/sharedvisitor/sharedvisitor.cxx index 66e43b96f67b..a6df13ca33b4 100644 --- a/compilerplugins/clang/sharedvisitor/sharedvisitor.cxx +++ b/compilerplugins/clang/sharedvisitor/sharedvisitor.cxx @@ -410,6 +410,11 @@ public: { if( ignoreLocation( arg )) return true; + if( blockBlock != nullptr ) + { + if( !blockBlock->VisitCaseStmt( arg )) + blockBlock = nullptr; + } if( unnecessaryParen != nullptr ) { if( !unnecessaryParen->VisitCaseStmt( arg )) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits