aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangtools/clangtools_global.h
blob: 5e3bd4237d5117e590f35d253b223efdbf3c21d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <QtGlobal>

#if defined(CLANGTOOLS_LIBRARY)
#  define CLANGTOOLS_EXPORT Q_DECL_EXPORT
#elif defined(CLANGTOOLS_STATIC_LIBRARY)
#  define CLANGTOOLS_EXPORT
#else
#  define CLANGTOOLS_EXPORT Q_DECL_IMPORT
#endif