aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/User.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-15 20:28:31 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-10-15 20:28:31 +0000
commitfcece4d2162e47c0f7325d1c262f460ff078aab7 (patch)
tree49fae0da8ddc4551518d3869760e5b60c08f8469 /llvm/lib/IR/User.cpp
parent995abe34f9127cbea4b1679176ed7480f2cfbe91 (diff)
downloadllvm-fcece4d2162e47c0f7325d1c262f460ff078aab7.zip
llvm-fcece4d2162e47c0f7325d1c262f460ff078aab7.tar.gz
llvm-fcece4d2162e47c0f7325d1c262f460ff078aab7.tar.bz2
IR: Cleanup comments for Value, User, and MDNode
A follow-up commit will modify the memory-layout of `Value`, `User`, and `MDNode`. First fix the comments to be doxygen-friendly (and to follow the coding standards). - Use "\brief" instead of "repeatedName -". - Add a brief intro where it was missing. - Remove duplicated comments from source files (and a couple of noisy/trivial comments altogether). llvm-svn: 219844
Diffstat (limited to 'llvm/lib/IR/User.cpp')
-rw-r--r--llvm/lib/IR/User.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/IR/User.cpp b/llvm/lib/IR/User.cpp
index 9406828..ee83eac 100644
--- a/llvm/lib/IR/User.cpp
+++ b/llvm/lib/IR/User.cpp
@@ -20,9 +20,6 @@ namespace llvm {
void User::anchor() {}
-// replaceUsesOfWith - Replaces all references to the "From" definition with
-// references to the "To" definition.
-//
void User::replaceUsesOfWith(Value *From, Value *To) {
if (From == To) return; // Duh what?