diff options
author | Dan Gohman <gohman@apple.com> | 2009-03-03 02:55:14 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-03-03 02:55:14 +0000 |
commit | 8387bb3116c16ebf4fd05c5aaa770e3eb243fc61 (patch) | |
tree | d6604c4df67bec3936ed3c7a3b92a312f42ea7a8 /lib/VMCore/Constants.cpp | |
parent | 2bf6a6b6881a785c1d164f223f019e4f38c2bc0b (diff) | |
download | external_llvm-8387bb3116c16ebf4fd05c5aaa770e3eb243fc61.zip external_llvm-8387bb3116c16ebf4fd05c5aaa770e3eb243fc61.tar.gz external_llvm-8387bb3116c16ebf4fd05c5aaa770e3eb243fc61.tar.bz2 |
Fix a bunch of Doxygen syntax issues. Escape special characters,
and put @file directives on their own comment line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65920 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Constants.cpp')
-rw-r--r-- | lib/VMCore/Constants.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp index 450d014..f75fb63 100644 --- a/lib/VMCore/Constants.cpp +++ b/lib/VMCore/Constants.cpp @@ -1277,8 +1277,8 @@ ConstantAggregateZero *ConstantAggregateZero::get(const Type *Ty) { return AggZeroConstants->getOrCreate(Ty, 0); } -// destroyConstant - Remove the constant from the constant table... -// +/// destroyConstant - Remove the constant from the constant table... +/// void ConstantAggregateZero::destroyConstant() { AggZeroConstants->remove(this); destroyConstantImpl(); @@ -1328,8 +1328,8 @@ Constant *ConstantArray::get(const ArrayType *Ty, return ConstantAggregateZero::get(Ty); } -// destroyConstant - Remove the constant from the constant table... -// +/// destroyConstant - Remove the constant from the constant table... +/// void ConstantArray::destroyConstant() { ArrayConstants->remove(this); destroyConstantImpl(); @@ -1370,7 +1370,7 @@ bool ConstantArray::isString() const { } /// isCString - This method returns true if the array is a string (see -/// isString) and it ends in a null byte \0 and does not contains any other +/// isString) and it ends in a null byte \\0 and does not contains any other /// null bytes except its terminator. bool ConstantArray::isCString() const { // Check the element type for i8... @@ -1391,10 +1391,10 @@ bool ConstantArray::isCString() const { } -// getAsString - If the sub-element type of this array is i8 -// then this method converts the array to an std::string and returns it. -// Otherwise, it asserts out. -// +/// getAsString - If the sub-element type of this array is i8 +/// then this method converts the array to an std::string and returns it. +/// Otherwise, it asserts out. +/// std::string ConstantArray::getAsString() const { assert(isString() && "Not a string!"); std::string Result; |