summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-08-28 20:45:45 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-08-28 20:45:45 +0000
commitb5011bd2695cf6d4bdb2fa295abc5db37518d1cc (patch)
treebf0c240198036a6acb7c1d28df105490673bdb88
parent02ae44f31c83117e9f08f5c40d4124da03e64234 (diff)
downloadllvm-b5011bd2695cf6d4bdb2fa295abc5db37518d1cc.tar.gz
llvm-b5011bd2695cf6d4bdb2fa295abc5db37518d1cc.tar.bz2
llvm-b5011bd2695cf6d4bdb2fa295abc5db37518d1cc.tar.xz
Period.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189513 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/IR/DebugInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp
index 416b7d1982..9684bd73f4 100644
--- a/lib/IR/DebugInfo.cpp
+++ b/lib/IR/DebugInfo.cpp
@@ -652,7 +652,7 @@ MDString *DICompositeType::getIdentifier() const {
#ifndef NDEBUG
static void VerifySubsetOf(const MDNode *LHS, const MDNode *RHS) {
for (unsigned i = 0; i != LHS->getNumOperands(); ++i) {
- // Skip the 'empty' list (that's a single i32 0, rather than truly empty)
+ // Skip the 'empty' list (that's a single i32 0, rather than truly empty).
if (i == 0 && isa<ConstantInt>(LHS->getOperand(i)))
continue;
const MDNode *E = cast<MDNode>(LHS->getOperand(i));
@@ -672,7 +672,7 @@ void DICompositeType::setTypeArray(DIArray Elements, DIArray TParams) {
TrackingVH<MDNode> N(*this);
if (Elements) {
#ifndef NDEBUG
- // Check that the new list of members contains all the old members as well
+ // Check that the new list of members contains all the old members as well.
if (const MDNode *El = cast_or_null<MDNode>(N->getOperand(10)))
VerifySubsetOf(El, Elements);
#endif