summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/unusedenumconstants.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.cxx b/compilerplugins/clang/unusedenumconstants.cxx
index a04117343860..5f91929a1431 100644
--- a/compilerplugins/clang/unusedenumconstants.cxx
+++ b/compilerplugins/clang/unusedenumconstants.cxx
@@ -265,6 +265,10 @@ walk_up:
{
goto walk_up;
}
+ else if (isa<ParenListExpr>(parent))
+ {
+ goto walk_up;
+ }
else if (isa<UnresolvedLookupExpr>(parent)
|| isa<CompoundStmt>(parent))
{