diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2016-01-22 12:20:53 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2016-01-26 09:12:17 +0000 |
commit | 6ddd0e579f4751c65c8214f57791658929a21966 (patch) | |
tree | d841073e0e5ab402cf13a9a96a9e1f51e5c167f4 /doc | |
parent | 58ba91b9242f96eb605192119ff72cf2dd366ebb (diff) | |
download | qt-creator-6ddd0e579f4751c65c8214f57791658929a21966.tar.gz |
Coding style: Prefer "#pragma once" over header guards
It's not even "modern" anymore ;)
Change-Id: Id0074f58f6ae669e09168274eab4c3c4ef7359dc
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/coding-style.qdoc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/coding-style.qdoc b/doc/api/coding-style.qdoc index fadfabf1a5..bf6457f584 100644 --- a/doc/api/coding-style.qdoc +++ b/doc/api/coding-style.qdoc @@ -704,6 +704,8 @@ \section2 C++ Features \list + \li Prefer \c {#pragma once} over header guards. + \li Do not use exceptions, unless you know what you do. \li Do not use RTTI (Run-Time Type Information; that is, the typeinfo |