forked from qt-creator/qt-creator
Clang: Cleanup ClangTool
Change-Id: I34b943b1ffbc778d539acf16720d76e3cdef024e Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -32,21 +32,7 @@
|
||||
#include <filecontainerv2.h>
|
||||
#include <sourcelocationscontainer.h>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#elif defined(_MSC_VER)
|
||||
# pragma warning(push)
|
||||
# pragma warning( disable : 4100 )
|
||||
#endif
|
||||
|
||||
#include "clang/Tooling/Refactoring.h"
|
||||
|
||||
#if defined(__GNUC__)
|
||||
# pragma GCC diagnostic pop
|
||||
#elif defined(_MSC_VER)
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
#include <clang/Tooling/Refactoring.h>
|
||||
|
||||
#include <utils/smallstring.h>
|
||||
|
||||
@@ -97,7 +83,7 @@ public:
|
||||
|
||||
template <typename Container>
|
||||
void addFiles(const Container &filePaths,
|
||||
const Utils::SmallStringVector &arguments);
|
||||
const Utils::SmallStringVector &arguments);
|
||||
|
||||
void addUnsavedFiles(const V2::FileContainers &unsavedFiles);
|
||||
|
||||
|
Reference in New Issue
Block a user