[llvm] 8f6e7b2 - [ModRef] Use enum class for IRMemLocation (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 00:08:52 PDT 2023
Author: Nikita Popov
Date: 2023-07-06T09:08:45+02:00
New Revision: 8f6e7b28712ae197f5674a1341f6c976746eaa69
URL: https://github.com/llvm/llvm-project/commit/8f6e7b28712ae197f5674a1341f6c976746eaa69
DIFF: https://github.com/llvm/llvm-project/commit/8f6e7b28712ae197f5674a1341f6c976746eaa69.diff
LOG: [ModRef] Use enum class for IRMemLocation (NFC)
As reported at https://reviews.llvm.org/D153305#4475840.
Added:
Modified:
llvm/include/llvm/Support/ModRef.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/ModRef.h b/llvm/include/llvm/Support/ModRef.h
index ac088620e2ba80..7687280111a1f8 100644
--- a/llvm/include/llvm/Support/ModRef.h
+++ b/llvm/include/llvm/Support/ModRef.h
@@ -56,7 +56,7 @@ enum class ModRefInfo : uint8_t {
raw_ostream &operator<<(raw_ostream &OS, ModRefInfo MR);
/// The locations at which a function might access memory.
-enum IRMemLocation {
+enum class IRMemLocation {
/// Access to memory via argument pointers.
ArgMem = 0,
/// Memory that is inaccessible via LLVM IR.
More information about the llvm-commits
mailing list