aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Parse/AttributeList.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-20 22:04:11 +0000
committerChris Lattner <sabre@nondot.org>2008-02-20 22:04:11 +0000
commit38d8b98803ac354dba15578d65ea99a83dead046 (patch)
tree613bbdc6a2a4fca390dbdc1d2b17003003549fe6 /include/clang/Parse/AttributeList.h
parent958858e04e9f98a42031ba69779e49c21f01ca6c (diff)
add some code that will be used to remove processed attrs from
declspec, it is currently nonfunctional though. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Parse/AttributeList.h')
-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; }