aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bytecode/Reader
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-06-10 08:27:00 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-06-10 08:27:00 +0000
commit8d131d1fec08dc079ea1d9674568db3ac490bbb3 (patch)
treea209d54ec40889f2491dfc6b8584629953c04e96 /lib/Bytecode/Reader
parent465ba87c9248cc6772358dbe1d7027ff644bd854 (diff)
downloadexternal_llvm-8d131d1fec08dc079ea1d9674568db3ac490bbb3.zip
external_llvm-8d131d1fec08dc079ea1d9674568db3ac490bbb3.tar.gz
external_llvm-8d131d1fec08dc079ea1d9674568db3ac490bbb3.tar.bz2
Doxygenize a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader')
-rw-r--r--lib/Bytecode/Reader/ReaderPrimitives.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/ReaderPrimitives.h b/lib/Bytecode/Reader/ReaderPrimitives.h
index 496ab2a..5c0361f 100644
--- a/lib/Bytecode/Reader/ReaderPrimitives.h
+++ b/lib/Bytecode/Reader/ReaderPrimitives.h
@@ -20,6 +20,7 @@
namespace llvm {
+ /// @brief Read an unsigned integer
static inline unsigned read(const unsigned char *&Buf,
const unsigned char *EndBuf) {
if (Buf+4 > EndBuf) throw std::string("Ran out of data!");
@@ -28,8 +29,7 @@ namespace llvm {
}
- // read_vbr - Read an unsigned integer encoded in variable bitrate format.
- //
+ /// @brief Read an unsigned integer encoded in variable bitrate format.
static inline unsigned read_vbr_uint(const unsigned char *&Buf,
const unsigned char *EndBuf) {
unsigned Shift = 0;