summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DebugInfo.cpp
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
commit9e8f4b063c41a692ded21abd11e05dc439c77d1e (patch)
treeae6d27f521e8db2748dcbb0db6d061fdb2d4b719 /llvm/lib/IR/DebugInfo.cpp
parent53b833b24b0ed200ae46bee4346fd0d47800e469 (diff)
downloadbcm5719-llvm-9e8f4b063c41a692ded21abd11e05dc439c77d1e.tar.gz
bcm5719-llvm-9e8f4b063c41a692ded21abd11e05dc439c77d1e.zip
Period.
llvm-svn: 189513
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 416b7d19821..9684bd73f4e 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud