diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-05-22 14:46:52 +0200 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-05-24 09:44:30 +0000 |
commit | e92b46073e5f7f0e280801d1402326d65a904ff6 (patch) | |
tree | 30d3b2ff5c0019aa8b3ff70a6b2b9a39edc13963 /tests | |
parent | 3d9025bfe38e455dfcfbee272df47141d588bdf3 (diff) |
Clang: Fix unit-test failures caused by Clang update
Failing tests:
TokenProcessor.TemplateFunctionCall
TokenProcessor.TemplateClassDeclaration
Do not introduce fatal error in test source file.
Otherwise template function is not recognized anymore.
Such template calls were also broken before but could
provide a valid Cursor kind. So it's a minor regression
in Clang but does not change anything for Qt Creator user.
Bug is reported: https://bugs.llvm.org/show_bug.cgi?id=37550
Change-Id: I788e8d9f88141cfefc6bbde77f36c459d91aff0b
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/unittest/data/highlightingmarks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unittest/data/highlightingmarks.cpp b/tests/unit/unittest/data/highlightingmarks.cpp index 858f0bbf2a..3592f8024d 100644 --- a/tests/unit/unittest/data/highlightingmarks.cpp +++ b/tests/unit/unittest/data/highlightingmarks.cpp @@ -294,7 +294,7 @@ void f12b() #define foreach2 FOREACH -#include <initializer_list> + void f13() { |