aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-08-30 16:49:28 +0000
committerDouglas Gregor <dgregor@apple.com>2010-08-30 16:49:28 +0000
commit6320064d0c60fa8683f5623881c9394fd4aa7689 (patch)
treef6a4fd62d9b9b3ea7d8ad507d16cabf5a9427fc7 /lib/Sema/SemaCodeComplete.cpp
parente2248be8746e0ebb01e9a3b823bc0e129283bef4 (diff)
Heap-allocate the attribute vectors in
ASTContext::DeclAttrs. Otherwise, iterators will go stale when the DenseMap reallocates, which can cause crashes when, e.g., looping over the attributes in a template to instantiate them and add the results to the instantiation of that template. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions