From 351f355b69632038f996d2d7039903d10f82c003 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Tue, 16 Jan 2018 21:59:40 +0200 Subject: [PATCH] ClangSupport: Add 2 missing exports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the following GCC warnings: In file included from .../clangpchmanagerbackend/clangpchmanagerbackendmain.cpp:26:0: .../clangsupport/clangpathwatcher.h: In instantiation of ‘class ClangBackEnd::ClangPathWatcher’: .../clangpchmanagerbackend/clangpchmanagerbackendmain.cpp:114:78: required from here .../clangsupport/clangpathwatcher.h:80:7: warning: ‘ClangBackEnd::ClangPathWatcher’ declared with greater visibility than the type of its field ‘ClangBackEnd::ClangPathWatcher::m_idCache’ [-Wattributes] class ClangPathWatcher : public ClangPathWatcherInterface ^~~~~~~~~~~~~~~~ Change-Id: I8c6bc30e80da50b631d272ff7c2120cf706548aa Reviewed-by: Nikolai Kosjar --- src/libs/clangsupport/clangpathwatcher.h | 2 +- src/libs/clangsupport/filepathcache.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/clangsupport/clangpathwatcher.h b/src/libs/clangsupport/clangpathwatcher.h index 13e026ee092..2b9d517a6ca 100644 --- a/src/libs/clangsupport/clangpathwatcher.h +++ b/src/libs/clangsupport/clangpathwatcher.h @@ -77,7 +77,7 @@ using IdCache = StringCache -class ClangPathWatcher : public ClangPathWatcherInterface +class CLANGSUPPORT_EXPORT ClangPathWatcher : public ClangPathWatcherInterface { public: ClangPathWatcher(FilePathCachingInterface &pathCache, diff --git a/src/libs/clangsupport/filepathcache.h b/src/libs/clangsupport/filepathcache.h index 0e8fa7e4dfe..81bc3f40cc8 100644 --- a/src/libs/clangsupport/filepathcache.h +++ b/src/libs/clangsupport/filepathcache.h @@ -36,7 +36,7 @@ namespace ClangBackEnd { template -class FilePathCache +class CLANGSUPPORT_EXPORT FilePathCache { using DirectoryPathCache = StringCache