[llvm] e620884 - [Attributor][NFC] Change variable spelling
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 7 21:40:58 PDT 2020
Author: Johannes Doerfert
Date: 2020-09-07T23:38:09-05:00
New Revision: e6208849c8d63690ac3489813eb13196df7ed8dc
URL: https://github.com/llvm/llvm-project/commit/e6208849c8d63690ac3489813eb13196df7ed8dc
DIFF: https://github.com/llvm/llvm-project/commit/e6208849c8d63690ac3489813eb13196df7ed8dc.diff
LOG: [Attributor][NFC] Change variable spelling
Added:
Modified:
llvm/lib/Transforms/IPO/Attributor.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/Attributor.cpp b/llvm/lib/Transforms/IPO/Attributor.cpp
index d5c33f08827d..ac9b48a53763 100644
--- a/llvm/lib/Transforms/IPO/Attributor.cpp
+++ b/llvm/lib/Transforms/IPO/Attributor.cpp
@@ -132,11 +132,11 @@ static cl::opt<bool> PrintDependencies("attributor-print-dep", cl::Hidden,
/// Logic operators for the change status enum class.
///
///{
-ChangeStatus llvm::operator|(ChangeStatus l, ChangeStatus r) {
- return l == ChangeStatus::CHANGED ? l : r;
+ChangeStatus llvm::operator|(ChangeStatus L, ChangeStatus R) {
+ return L == ChangeStatus::CHANGED ? L : R;
}
-ChangeStatus llvm::operator&(ChangeStatus l, ChangeStatus r) {
- return l == ChangeStatus::UNCHANGED ? l : r;
+ChangeStatus llvm::operator&(ChangeStatus L, ChangeStatus R) {
+ return L == ChangeStatus::UNCHANGED ? L : R;
}
///}
More information about the llvm-commits
mailing list