Commit 58763db5 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau

Merge branch '5.4'

parents 9799b6cc 8a18a08c
Pipeline #5849 failed with stage
in 60 minutes
......@@ -190,7 +190,12 @@ template<typename CustomTestFunction = NoopTestFunction>
void executeCompletionTest(const QString& code, const CompletionItems& expectedCompletionItems,
const ClangCodeCompletionContext::ContextFilters& filters = NoMacroOrBuiltin,
CustomTestFunction customTestFunction = {},
QString fileExtension = QStringLiteral("cpp"))
// Using QStringLiteral fails here with Ubuntu Bionic's GNU 7.4.0 C++ compiler,
// Assembler messages: Error: symbol `_ZZNK12_GLOBAL__N_1UlvE_clEvE15qstring_literal' is already defined
// Seems the symbol is not including the template arguments, but might be created
// per instantiation of the template
// Seems fixed in newer versions of GCC
const QString& fileExtension = QString::fromLatin1("cpp"))
TestFile file(code, fileExtension);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment