forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -294,7 +294,7 @@ void f12b()
|
||||
|
||||
#define foreach2 FOREACH
|
||||
|
||||
#include <initializer_list>
|
||||
|
||||
|
||||
void f13()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user