Commit 05a77a39 authored by Marco Bubke's avatar Marco Bubke Committed by Tim Jenssen

Clang: Make C++17 default for clang queries

We don't want users to stop to use new features.

Change-Id: I7c63f236a8c0059e6db6904b7ceef4d78da6cf42
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 9428624f
......@@ -85,7 +85,7 @@ void ClangQueryProjectsFindFilter::requestSourceRangesAndDiagnostics(const QStri
ClangBackEnd::RequestSourceRangesAndDiagnosticsForQueryMessage message(queryText,
{ClangBackEnd::FilePath(filePath),
exampleContent,
{"cc", toNative(filePath)}});
{"cc", "-std=c++1z", toNative(filePath)}});
m_server.requestSourceRangesAndDiagnosticsForQueryMessage(std::move(message));
}
......
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