diff options
| author | Christian Kandeler <christian.kandeler@qt.io> | 2023-02-09 15:11:14 +0100 |
|---|---|---|
| committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-02-28 08:32:40 +0000 |
| commit | 61de69ea907bfd5e7d0b6eb97975194352c9c5f3 (patch) | |
| tree | c3a974c9685153c63f65348e34117a0408f2d30b /src/plugins/cppeditor/cppcompletion_test.cpp | |
| parent | 89a8631784dfee4a96bc32f92d49e9747f426f1f (diff) | |
| download | qt-creator-61de69ea907bfd5e7d0b6eb97975194352c9c5f3.tar.gz | |
CPlusPlus: Handle C++20 concepts in parser
Change-Id: I8c6b8b1ba3f36b83cd1d667bec9830271147b1ac
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppcompletion_test.cpp')
| -rw-r--r-- | src/plugins/cppeditor/cppcompletion_test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppcompletion_test.cpp b/src/plugins/cppeditor/cppcompletion_test.cpp index 56e4987af6..1e212dde60 100644 --- a/src/plugins/cppeditor/cppcompletion_test.cpp +++ b/src/plugins/cppeditor/cppcompletion_test.cpp @@ -70,6 +70,10 @@ public: // Get Document const Document::Ptr document = waitForFileInGlobalSnapshot(filePath); QVERIFY(document); + if (!document->diagnosticMessages().isEmpty()) { + for (const Document::DiagnosticMessage &m : document->diagnosticMessages()) + qDebug().noquote() << m.text(); + } QVERIFY(document->diagnosticMessages().isEmpty()); m_snapshot.insert(document); |
