diff options
| author | Thiago Macieira <[email protected]> | 2011-12-29 16:36:46 -0200 |
|---|---|---|
| committer | Qt by Nokia <[email protected]> | 2012-04-24 16:38:14 +0200 |
| commit | 29d2aad30a47009e5b756a608dc9366900caf71f (patch) | |
| tree | d62ceb7afa87eb93b63069bdb89dbdd3e9b94faf /src/testlib/qbenchmarkvalgrind.cpp | |
| parent | 1765329b8c15b855f787ef8079b4d021d06f7af4 (diff) | |
Use the C99 keyword "restrict" in compilers that support it
This allows the compiler to produce better / smaller code due to not
being required to deal with two pointers possibly aliasing each
other. This also enables vectorisation where otherwise the compiler
wouldn't be able to do.
Change-Id: Ie7db3a54a1ba22f87ac5283d5c43905707957549
Reviewed-by: Samuel Rødal <[email protected]>
Diffstat (limited to 'src/testlib/qbenchmarkvalgrind.cpp')
0 files changed, 0 insertions, 0 deletions
