[cfe-commits] r156715 - /cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Rafael Espindola
rafael.espindola at gmail.com
Sat May 12 09:35:00 PDT 2012
Author: rafael
Date: Sat May 12 11:35:00 2012
New Revision: 156715
URL: http://llvm.org/viewvc/llvm-project?rev=156715&view=rev
Log:
Remove unused variable. Thanks to Dmitri Gribenko for noticing it.
Modified:
cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=156715&r1=156714&r2=156715&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Sat May 12 11:35:00 2012
@@ -4023,10 +4023,8 @@
void Sema::ProcessDeclAttributeList(Scope *S, Decl *D,
const AttributeList *AttrList,
bool NonInheritable, bool Inheritable) {
- SmallVector<const AttributeList*, 4> attrs;
for (const AttributeList* l = AttrList; l; l = l->getNext()) {
ProcessDeclAttribute(*this, S, D, *l, NonInheritable, Inheritable);
- attrs.push_back(l);
}
// GCC accepts
More information about the cfe-commits
mailing list