llvm::Optional::hasValue was renamed to has_value

This commit is contained in:
Jonas Hahnfeld 2023-07-10 08:33:18 +02:00 committed by jenkins
parent 2213f5ca92
commit 2113534493

View File

@ -223,7 +223,7 @@ namespace cling {
/*SkipCache*/ false,
/*OpenFile*/ false, /*CacheFail*/ true);
// Return true if we can '#include' the given filename
return FE.hasValue();
return FE.has_value();
};
SourceLocation spellingLoc = m_SMgr.getSpellingLoc(D->getBeginLoc());