[llvm] af86aa7 - [MemoryLocation] Use None instead of {}. (NFC)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 3 05:19:52 PST 2021
Author: Florian Hahn
Date: 2021-12-03T13:19:00Z
New Revision: af86aa798083e483311d0d661d3f8a84936d0494
URL: https://github.com/llvm/llvm-project/commit/af86aa798083e483311d0d661d3f8a84936d0494
DIFF: https://github.com/llvm/llvm-project/commit/af86aa798083e483311d0d661d3f8a84936d0494.diff
LOG: [MemoryLocation] Use None instead of {}. (NFC)
Added:
Modified:
llvm/lib/Analysis/MemoryLocation.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/MemoryLocation.cpp b/llvm/lib/Analysis/MemoryLocation.cpp
index 1ff3a295ead08..18ba50c7b4e12 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,
More information about the llvm-commits
mailing list