This is part of an effort to migrate from llvm::Optional to
std::optional:
https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
#include "llvm/Transforms/Utils/CallGraphUpdater.h"
#include <map>
+#include <optional>
namespace llvm {
DenseSet<const char *> *Allowed = nullptr;
/// Maximum number of iterations to run until fixpoint.
- Optional<unsigned> MaxFixpointIterations = None;
+ std::optional<unsigned> MaxFixpointIterations = None;
/// A callback function that returns an ORE object from a Function pointer.
///{