disable expressionalwayszero loplugin on clang-3.8
can generate OOM Change-Id: Ie9fbed147687c06727a702616764a18d91b38e9c Reviewed-on: https://gerrit.libreoffice.org/52052 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -163,7 +163,12 @@ bool ExpressionAlwaysZero::TraverseStaticAssertDecl( StaticAssertDecl * )
|
||||
return true;
|
||||
}
|
||||
|
||||
// on clang-3.8, this plugin can generate OOM
|
||||
#if CLANG_VERSION >= 30900
|
||||
loplugin::Plugin::Registration< ExpressionAlwaysZero > X("expressionalwayszero");
|
||||
#else
|
||||
loplugin::Plugin::Registration< ExpressionAlwaysZero > X("expressionalwayszero", false);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user