diff --git a/llvm/lib/Analysis/MemoryLocation.cpp b/llvm/lib/Analysis/MemoryLocation.cpp index 1ff3a295ead0..18ba50c7b4e1 100644 --- a/llvm/lib/Analysis/MemoryLocation.cpp +++ b/llvm/lib/Analysis/MemoryLocation.cpp @@ -146,7 +146,7 @@ MemoryLocation::getForDest(const CallBase *CB, const TargetLibraryInfo &TLI) { } } - return {}; + return None; } MemoryLocation MemoryLocation::getForArgument(const CallBase *Call,