if (!loplugin::TypeCheck(constructorDecl->getParamDecl(0)->getType())
.Typedef("sal_uInt32")
.GlobalNamespace()) returntrue;
auto arg0 = constructExpr->getArg(0); if (arg0->isCXX11ConstantExpr(compiler.getASTContext()))
{ if (!arg0->isValueDependent())
{
compat::optional<llvm::APSInt> xVal
= arg0->getIntegerConstantExpr(compiler.getASTContext()); if (xVal && *xVal > 0xffffff)
report(DiagnosticsEngine::Warning, "Rather use the ColorTransparency or ColorAlpha version of this constructor",
arg0->getExprLoc()); returntrue;
}
}
report(DiagnosticsEngine::Warning, "Rather use the ColorTransparency or ColorAlpha version of this constructor",
arg0->getExprLoc());
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.