forked from qt-creator/qt-creator
Clang: Fix build with clang 7.0
As an addition update the header with Clang-Tidy checks. Change-Id: Ib4a4d324e8cad95403a3e799e352205b05ed7475 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -196,7 +196,11 @@ public:
|
||||
const clang::FileEntry *file,
|
||||
llvm::StringRef /*searchPath*/,
|
||||
llvm::StringRef /*relativePath*/,
|
||||
const clang::Module * /*imported*/) override
|
||||
const clang::Module * /*imported*/
|
||||
#if LLVM_VERSION_MAJOR >= 7
|
||||
, clang::SrcMgr::CharacteristicKind /*fileType*/
|
||||
#endif
|
||||
) override
|
||||
{
|
||||
if (!m_skipInclude && file)
|
||||
addSourceDependency(file, hashLocation);
|
||||
|
||||
Reference in New Issue
Block a user