diff --git a/compilerplugins/clang/includeform.cxx b/compilerplugins/clang/includeform.cxx index da955c20d3bb..173f9e28841b 100644 --- a/compilerplugins/clang/includeform.cxx +++ b/compilerplugins/clang/includeform.cxx @@ -36,7 +36,11 @@ private: #else FileEntry const * File, #endif - StringRef SearchPath, StringRef, clang::Module const *, SrcMgr::CharacteristicKind) override + StringRef SearchPath, StringRef, clang::Module const *, +#if CLANG_VERSION >= 190000 + bool, +#endif + SrcMgr::CharacteristicKind) override { if (ignoreLocation(HashLoc)) { return;