QSysInfo: Fix clang generated documentation
Clang expects valid expressions. (Code that actually compiles.) Now this is a valid expression ('or' is a C++ keyword meaning '||'). And it still has the meaning we want to convey in the documentation. Change-Id: If217e9e448eabe2a64df81cf5cd25f8c17e22109 Reviewed-by: Edward Welbourne <edward.welbourne@theqtcompany.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> Reviewed-by: Martin Smith <martin.smith@theqtcompany.com>
This commit is contained in:
parent
f11ea381d6
commit
4f8ac09a4f
@ -69,7 +69,7 @@ public:
|
||||
LittleEndian
|
||||
|
||||
# ifdef Q_QDOC
|
||||
, ByteOrder = <platform-dependent>
|
||||
, ByteOrder = BigEndian or LittleEndian
|
||||
# elif Q_BYTE_ORDER == Q_BIG_ENDIAN
|
||||
, ByteOrder = BigEndian
|
||||
# elif Q_BYTE_ORDER == Q_LITTLE_ENDIAN
|
||||
|
Loading…
x
Reference in New Issue
Block a user