Running astyle; test/cfg/: Since #6958 is fixed, activated test cases for fma()-functions.
This commit is contained in:
parent
ab4adf2836
commit
fb643ba2d4
|
@ -4,17 +4,16 @@
|
|||
#include <QDialog>
|
||||
|
||||
namespace Ui {
|
||||
class LibraryAddFunctionDialog;
|
||||
class LibraryAddFunctionDialog;
|
||||
}
|
||||
|
||||
class LibraryAddFunctionDialog : public QDialog
|
||||
{
|
||||
class LibraryAddFunctionDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
public:
|
||||
explicit LibraryAddFunctionDialog(QWidget *parent = 0);
|
||||
~LibraryAddFunctionDialog();
|
||||
|
||||
|
||||
QString functionName() const;
|
||||
int numberOfArguments() const;
|
||||
|
||||
|
|
|
@ -1163,22 +1163,24 @@ void uninitvar_floor(void)
|
|||
(void)floorl(ld);
|
||||
}
|
||||
|
||||
#if 0 // #6958
|
||||
void uninitvar_fma(void)
|
||||
{
|
||||
// cppcheck-suppress unassignedVariable
|
||||
float f1,f2,f3;
|
||||
// cppcheck-suppress uninitvar
|
||||
(void)fmaf(f1,f2,f3);
|
||||
|
||||
// cppcheck-suppress unassignedVariable
|
||||
double d1,d2,d3;
|
||||
// cppcheck-suppress uninitvar
|
||||
(void)fma(d1,d2,d3);
|
||||
|
||||
// cppcheck-suppress unassignedVariable
|
||||
long double ld1,ld2,ld3;
|
||||
// cppcheck-suppress uninitvar
|
||||
(void)fmal(ld1,ld2,ld3);
|
||||
}
|
||||
#endif
|
||||
|
||||
void ignoreretrn(void)
|
||||
{
|
||||
char szNumbers[] = "2001 60c0c0 -1101110100110100100000 0x6fffff";
|
||||
|
|
|
@ -686,19 +686,21 @@ void uninitvar_floor(void)
|
|||
(void)std::floor(ld);
|
||||
}
|
||||
|
||||
#if 0 // #6958
|
||||
void uninitvar_fma(void)
|
||||
{
|
||||
// cppcheck-suppress unassignedVariable
|
||||
float f1,f2,f3;
|
||||
// cppcheck-suppress uninitvar
|
||||
(void)std::fma(f1,f2,f3);
|
||||
|
||||
// cppcheck-suppress unassignedVariable
|
||||
double d1,d2,d3;
|
||||
// cppcheck-suppress uninitvar
|
||||
(void)std::fma(d1,d2,d3);
|
||||
|
||||
// cppcheck-suppress unassignedVariable
|
||||
long double ld1,ld2,ld3;
|
||||
// cppcheck-suppress uninitvar
|
||||
(void)std::fma(ld1,ld2,ld3);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue