[llvm-commits] [llvm] r84794 - /llvm/trunk/lib/VMCore/Metadata.cpp
Benjamin Kramer
benny.kra at googlemail.com
Wed Oct 21 16:27:54 PDT 2009
Author: d0k
Date: Wed Oct 21 18:27:54 2009
New Revision: 84794
URL: http://llvm.org/viewvc/llvm-project?rev=84794&view=rev
Log:
Remove pointless return; at end of function.
Modified:
llvm/trunk/lib/VMCore/Metadata.cpp
Modified: llvm/trunk/lib/VMCore/Metadata.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Metadata.cpp?rev=84794&r1=84793&r2=84794&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Metadata.cpp (original)
+++ llvm/trunk/lib/VMCore/Metadata.cpp Wed Oct 21 18:27:54 2009
@@ -307,7 +307,6 @@
// Otherwise add a new entry.
Info.push_back(std::make_pair(MDKind, Node));
- return;
}
/// removeMD - Remove metadata of given kind attached with an instuction.
@@ -324,8 +323,6 @@
return;
}
}
-
- return;
}
/// removeAllMetadata - Remove all metadata attached with an instruction.
More information about the llvm-commits
mailing list