diff options
author | Andy Shaw <andy.shaw@qt.io> | 2018-03-02 15:13:45 +0100 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2018-03-05 06:54:06 +0000 |
commit | 0da3ebd9940a214cc7ea292d13cd86967cd89a66 (patch) | |
tree | 823482c97775d9ca7d982ed8a11cc4167563a98a /tests/auto/tools | |
parent | 174a1e96350e8b128e856e97392a9b57c8c08ebb (diff) |
moc: Don't error our when parsing "using namespace __identifier(...)"
This follows on from a2322519929bd36a90422dccc0310b8230729197 which
covered a similar instance of this. As with that change, we should not
abort the compilation, just ignore it.
Task-number: QTBUG-63772
Change-Id: Ide958080a90f43ed19edd8a320e7d45de1c96821
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/tools')
-rw-r--r-- | tests/auto/tools/moc/namespace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/namespace.h b/tests/auto/tools/moc/namespace.h index 43d00e82f3..7f1e46cd62 100644 --- a/tests/auto/tools/moc/namespace.h +++ b/tests/auto/tools/moc/namespace.h @@ -76,6 +76,7 @@ namespace FooNamespace { #ifdef Q_MOC_RUN namespace __identifier("<AtlImplementationDetails>") {} // QTBUG-56634 +using namespace __identifier("<AtlImplementationDetails>"); // QTBUG-63772 #endif #endif // NAMESPACE_H |