summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/code/doc_src_stylesheet.qdoc
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-12-04 17:14:07 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-05 23:57:47 +0100
commit13673ced441f90fa62b41e69b5d5d7341d2e24f9 (patch)
tree202228be0dc459bffb5faf0a91276f45970294f6 /src/widgets/doc/snippets/code/doc_src_stylesheet.qdoc
parentaf47adede0de1e2420161d7b2f348343134a5009 (diff)
Replace the qCpuHasFeature function with a macro
We want to make sure that there's a constant propagation from the static variable that is filled in with the current code-generation options. With most compilers in debug mode, we'd carry dead code. With MSVC, even inlining is really bad even in release mode, and it doesn't perform constant propagation even with __forceinline. Change-Id: I7a95ff6622b864771243990bb5e205b2df0c33fc Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/doc/snippets/code/doc_src_stylesheet.qdoc')
0 files changed, 0 insertions, 0 deletions