diff options
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r-- | llvm/lib/Bitcode/Writer/ValueEnumerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bitcode/Writer/ValueEnumerator.h b/llvm/lib/Bitcode/Writer/ValueEnumerator.h index 0592382913a..4c5c03d13e2 100644 --- a/llvm/lib/Bitcode/Writer/ValueEnumerator.h +++ b/llvm/lib/Bitcode/Writer/ValueEnumerator.h @@ -157,12 +157,12 @@ public: /// Check whether the current block has any metadata to emit. bool hasMDs() const { return NumModuleMDs < MDs.size(); } - // Get the MDString metadata for this block. + /// Get the MDString metadata for this block. ArrayRef<const Metadata *> getMDStrings() const { return makeArrayRef(MDs).slice(NumModuleMDs, NumMDStrings); } - // Get the non-MDString metadata for this block. + /// Get the non-MDString metadata for this block. ArrayRef<const Metadata *> getNonMDStrings() const { return makeArrayRef(MDs).slice(NumModuleMDs).slice(NumMDStrings); } |