aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-12-10 10:31:04 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-10 20:50:58 +0100
commit96acdc986724ed90c6423287c35c2c89876158ba (patch)
treef90ca29ba9cd43e0d5721ef60b7656cddf905286 /tests
parente6a417692652d925c6baed33d153f86d78244134 (diff)
Use qCpuHasFeature because the check can be optimized out of existence
qCpuHasFeature also checks the compiler flags of this particular build. If the feature was enabled by the compiler in this .cpp, then no runtime check is performed and the test becomes an unconditional true. Change-Id: Ibb7d333e59a0f4ed06b7d0056547177fd69658a0 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions