forked from qt-creator/qt-creator
Clang: Remove unneeded CLANG_EXPORT
Change-Id: Ib05f97212758a4dd3f1abb7774f071c9385377b4 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -1,43 +0,0 @@
|
|||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Copyright (C) 2015 The Qt Company Ltd.
|
|
||||||
** Contact: http://www.qt.io/licensing
|
|
||||||
**
|
|
||||||
** This file is part of Qt Creator.
|
|
||||||
**
|
|
||||||
** Commercial License Usage
|
|
||||||
** Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
** accordance with the commercial license agreement provided with the
|
|
||||||
** Software or, alternatively, in accordance with the terms contained in
|
|
||||||
** a written agreement between you and The Qt Company. For licensing terms and
|
|
||||||
** conditions see http://www.qt.io/terms-conditions. For further information
|
|
||||||
** use the contact form at http://www.qt.io/contact-us.
|
|
||||||
**
|
|
||||||
** GNU Lesser General Public License Usage
|
|
||||||
** Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
** General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
** Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
** LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
** following information to ensure the GNU Lesser General Public License
|
|
||||||
** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
**
|
|
||||||
** In addition, as a special exception, The Qt Company gives you certain additional
|
|
||||||
** rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
**
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#ifndef CLANG_GLOBAL_H
|
|
||||||
#define CLANG_GLOBAL_H
|
|
||||||
|
|
||||||
#include <qglobal.h>
|
|
||||||
|
|
||||||
#if defined(CLANGCODEMODEL_LIBRARY)
|
|
||||||
# define CLANG_EXPORT Q_DECL_EXPORT
|
|
||||||
#else
|
|
||||||
# define CLANG_EXPORT Q_DECL_IMPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#endif // CLANG_GLOBAL_H
|
|
@@ -1,8 +1,6 @@
|
|||||||
include(../../qtcreatorplugin.pri)
|
include(../../qtcreatorplugin.pri)
|
||||||
include(../../shared/clang/clang_installation.pri)
|
include(../../shared/clang/clang_installation.pri)
|
||||||
|
|
||||||
DEFINES += CLANGCODEMODEL_LIBRARY
|
|
||||||
|
|
||||||
# The following defines are used to determine the clang include path for intrinsics.
|
# The following defines are used to determine the clang include path for intrinsics.
|
||||||
DEFINES += CLANG_VERSION=\\\"$${LLVM_VERSION}\\\"
|
DEFINES += CLANG_VERSION=\\\"$${LLVM_VERSION}\\\"
|
||||||
DEFINES += "\"CLANG_RESOURCE_DIR=\\\"$${LLVM_LIBDIR}/clang/$${LLVM_VERSION}/include\\\"\""
|
DEFINES += "\"CLANG_RESOURCE_DIR=\\\"$${LLVM_LIBDIR}/clang/$${LLVM_VERSION}/include\\\"\""
|
||||||
@@ -53,7 +51,6 @@ HEADERS += \
|
|||||||
clangfixitoperation.h \
|
clangfixitoperation.h \
|
||||||
clangfixitoperationsextractor.h \
|
clangfixitoperationsextractor.h \
|
||||||
clangfunctionhintmodel.h \
|
clangfunctionhintmodel.h \
|
||||||
clang_global.h \
|
|
||||||
clangmodelmanagersupport.h \
|
clangmodelmanagersupport.h \
|
||||||
clangprojectsettings.h \
|
clangprojectsettings.h \
|
||||||
clangprojectsettingspropertiespage.h \
|
clangprojectsettingspropertiespage.h \
|
||||||
|
@@ -72,7 +72,6 @@ QtcPlugin {
|
|||||||
"clangfixitoperationsextractor.h",
|
"clangfixitoperationsextractor.h",
|
||||||
"clangfunctionhintmodel.cpp",
|
"clangfunctionhintmodel.cpp",
|
||||||
"clangfunctionhintmodel.h",
|
"clangfunctionhintmodel.h",
|
||||||
"clang_global.h",
|
|
||||||
"clangmodelmanagersupport.cpp",
|
"clangmodelmanagersupport.cpp",
|
||||||
"clangmodelmanagersupport.h",
|
"clangmodelmanagersupport.h",
|
||||||
"clangprojectsettings.cpp",
|
"clangprojectsettings.cpp",
|
||||||
|
@@ -31,8 +31,6 @@
|
|||||||
#ifndef CLANGPROJECTSETTINGS_H
|
#ifndef CLANGPROJECTSETTINGS_H
|
||||||
#define CLANGPROJECTSETTINGS_H
|
#define CLANGPROJECTSETTINGS_H
|
||||||
|
|
||||||
#include "clang_global.h"
|
|
||||||
|
|
||||||
#include <projectexplorer/project.h>
|
#include <projectexplorer/project.h>
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
@@ -40,7 +38,7 @@
|
|||||||
|
|
||||||
namespace ClangCodeModel {
|
namespace ClangCodeModel {
|
||||||
|
|
||||||
class CLANG_EXPORT ClangProjectSettings: public QObject
|
class ClangProjectSettings: public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
@@ -31,8 +31,6 @@
|
|||||||
#ifndef CPPTOOLS_CLANGUTILS_H
|
#ifndef CPPTOOLS_CLANGUTILS_H
|
||||||
#define CPPTOOLS_CLANGUTILS_H
|
#define CPPTOOLS_CLANGUTILS_H
|
||||||
|
|
||||||
#include "clang_global.h"
|
|
||||||
|
|
||||||
#include <cpptools/cppprojects.h>
|
#include <cpptools/cppprojects.h>
|
||||||
|
|
||||||
#include <QLoggingCategory>
|
#include <QLoggingCategory>
|
||||||
|
@@ -31,8 +31,6 @@
|
|||||||
#ifndef CLANGCODEMODEL_HIGHLIGHTINGMARKSREPORTER_H
|
#ifndef CLANGCODEMODEL_HIGHLIGHTINGMARKSREPORTER_H
|
||||||
#define CLANGCODEMODEL_HIGHLIGHTINGMARKSREPORTER_H
|
#define CLANGCODEMODEL_HIGHLIGHTINGMARKSREPORTER_H
|
||||||
|
|
||||||
#include "clang_global.h"
|
|
||||||
|
|
||||||
#include <QFutureInterface>
|
#include <QFutureInterface>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QRunnable>
|
#include <QRunnable>
|
||||||
|
Reference in New Issue
Block a user