diff options
author | Victor Hernandez <vhernandez@apple.com> | 2010-01-14 01:46:02 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2010-01-14 01:46:02 +0000 |
commit | d0f20acf74597b58d68220026205042382fc625e (patch) | |
tree | 6fbbcc8ccf1a47308e76714ee5c839fe4aa287fa /lib/Bitcode | |
parent | c7650b4d1907becbf2ed112074fd2c4a6f174aa8 (diff) | |
download | external_llvm-d0f20acf74597b58d68220026205042382fc625e.zip external_llvm-d0f20acf74597b58d68220026205042382fc625e.tar.gz external_llvm-d0f20acf74597b58d68220026205042382fc625e.tar.bz2 |
Clean up unnecessary return and brackets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r-- | lib/Bitcode/Writer/ValueEnumerator.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Bitcode/Writer/ValueEnumerator.cpp b/lib/Bitcode/Writer/ValueEnumerator.cpp index 37b44b1..ef0a61e 100644 --- a/lib/Bitcode/Writer/ValueEnumerator.cpp +++ b/lib/Bitcode/Writer/ValueEnumerator.cpp @@ -242,13 +242,11 @@ void ValueEnumerator::EnumerateMetadata(const MetadataBase *MD, bool isGlobal) { MDValues.push_back(std::make_pair(MD, 1U)); MDValueMap[MD] = MDValues.size(); MDValueID = MDValues.size(); - for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) { + for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) if (Value *V = N->getOperand(i)) EnumerateValue(V); else EnumerateType(Type::getVoidTy(MD->getContext())); - } - return; } return; } |