From 607900ae1702c8c15dea5ea1805a684bf4b4c65c Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Mon, 29 Aug 2022 11:18:05 +0200 Subject: [PATCH] ClangCodeModel: Fix tests Amends a7956df3ca45579c62b496621a7d3b55d73c98b. Change-Id: I7cbbd391ee015c5481e90ebdad356d9c6e916d5e Reviewed-by: Reviewed-by: Christian Stenger --- .../test/data/completion/mainwindow.cpp | 22 +++++++++++++++++++ .../test/data/follow-symbol/header.h | 22 +++++++++++++++++++ .../test/data/follow-symbol/main.cpp | 22 +++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/src/plugins/clangcodemodel/test/data/completion/mainwindow.cpp b/src/plugins/clangcodemodel/test/data/completion/mainwindow.cpp index ed62e965091..6fb327b6345 100644 --- a/src/plugins/clangcodemodel/test/data/completion/mainwindow.cpp +++ b/src/plugins/clangcodemodel/test/data/completion/mainwindow.cpp @@ -1,6 +1,28 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 + + + + + + + +// This space intentionally left empty + + + + + + + + + + + + + + #include "mainwindow.h" #include "ui_mainwindow.h" diff --git a/src/plugins/clangcodemodel/test/data/follow-symbol/header.h b/src/plugins/clangcodemodel/test/data/follow-symbol/header.h index 0895126499b..b76f2687beb 100644 --- a/src/plugins/clangcodemodel/test/data/follow-symbol/header.h +++ b/src/plugins/clangcodemodel/test/data/follow-symbol/header.h @@ -1,5 +1,27 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 + + + + + + + + +// This space intentionally left empty + + + + + + + + + + + + + #pragma once #define TEST_DEFINE 1 diff --git a/src/plugins/clangcodemodel/test/data/follow-symbol/main.cpp b/src/plugins/clangcodemodel/test/data/follow-symbol/main.cpp index c23af02af6e..1686b613cb9 100644 --- a/src/plugins/clangcodemodel/test/data/follow-symbol/main.cpp +++ b/src/plugins/clangcodemodel/test/data/follow-symbol/main.cpp @@ -1,5 +1,27 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0 + + + + + + + + +// This space intentionally left empty + + + + + + + + + + + + + #include "header.h" #include "cursor.h" Fooish::Bar::Bar() {