aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Parse/AttributeList.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Parse/AttributeList.h b/include/clang/Parse/AttributeList.h
index cc3f52ac5f..231a214f49 100644
--- a/include/clang/Parse/AttributeList.h
+++ b/include/clang/Parse/AttributeList.h
@@ -50,8 +50,7 @@ public:
// freed). If any element of the vector is non-null, we should assert.
delete [] Args;
}
- if (Next)
- delete Next;
+ delete Next;
}
IdentifierInfo *getAttributeName() const { return AttrName; }