llvm::Optional::hasValue was renamed to has_value
This commit is contained in:
parent
2213f5ca92
commit
2113534493
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user