]> granicus.if.org Git - clang/commit
Revert r269717. That change alone did not provide the intended benefit (which
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 17 May 2016 21:48:41 +0000 (21:48 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 17 May 2016 21:48:41 +0000 (21:48 +0000)
commite3f873e601698ef347b0412fcda15935275fca4e
tree35861cab52a2fb8726b09ace31c1119233a6179f
parent051792e88ef67903a1754e83c7c896f55a38b195
Revert r269717. That change alone did not provide the intended benefit (which
would come from changing the type of ASTContext::DeclAttrs from
DenseMap<Decl*,AttrVec*> to DenseMap<Decl*,AttrVec>), and it turns out to be
impractical to avoid the allocation there, because we expose the address of the
attribute vector in ways that are hard to fix.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269849 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/AttrIterator.h