aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/CallSite.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-05-30 22:47:19 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-05-30 22:47:19 +0000
commit0001dc290b29c489709e53e8800ad79701f31b0f (patch)
tree0767e9795827970bb39980558044dfd47703795c /include/llvm/Support/CallSite.h
parentbc9a81d4c4e79426ee5649ad9fbddd98ca245bd5 (diff)
downloadexternal_llvm-0001dc290b29c489709e53e8800ad79701f31b0f.zip
external_llvm-0001dc290b29c489709e53e8800ad79701f31b0f.tar.gz
external_llvm-0001dc290b29c489709e53e8800ad79701f31b0f.tar.bz2
Revert 51775.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/CallSite.h')
-rw-r--r--include/llvm/Support/CallSite.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h
index d7b28fc..f118680 100644
--- a/include/llvm/Support/CallSite.h
+++ b/include/llvm/Support/CallSite.h
@@ -36,11 +36,11 @@ public:
CallSite(CallInst *CI) : I(reinterpret_cast<Instruction*>(CI)) {}
CallSite(InvokeInst *II) : I(reinterpret_cast<Instruction*>(II)) {}
CallSite(Instruction *C);
- CallSite(const CallSite &cs) : I(cs.I) {}
- CallSite &operator=(const CallSite &cs) { I = cs.I; return *this; }
+ CallSite(const CallSite &CS) : I(CS.I) {}
+ CallSite &operator=(const CallSite &CS) { I = CS.I; return *this; }
- bool operator==(const CallSite &cs) const { return I == cs.I; }
- bool operator!=(const CallSite &cs) const { return I != cs.I; }
+ bool operator==(const CallSite &CS) const { return I == CS.I; }
+ bool operator!=(const CallSite &CS) const { return I != CS.I; }
/// CallSite::get - This static method is sort of like a constructor. It will
/// create an appropriate call site for a Call or Invoke instruction, but it
@@ -148,8 +148,8 @@ public:
bool arg_empty() const { return arg_end() == arg_begin(); }
unsigned arg_size() const { return unsigned(arg_end() - arg_begin()); }
- bool operator<(const CallSite &cs) const {
- return getInstruction() < cs.getInstruction();
+ bool operator<(const CallSite &CS) const {
+ return getInstruction() < CS.getInstruction();
}
};