summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-04-27 00:38:33 +0000
committerTed Kremenek <kremenek@apple.com>2012-04-27 00:38:33 +0000
commitb2a470646ae59554e67dcb244989db83e6a73b03 (patch)
tree910fd66c226f3c1a006f8347437abf3a5c43fbb4 /clang/lib/Frontend/CompilerInvocation.cpp
parenta2a59ade6c73b94395b66e96822193a04fce2ee2 (diff)
downloadbcm5719-llvm-b2a470646ae59554e67dcb244989db83e6a73b03.tar.gz
bcm5719-llvm-b2a470646ae59554e67dcb244989db83e6a73b03.zip
Change FunctionSummary.h's definition of SetOfDecls to be an ImmutableList instead
of a mutable SmallPtrSet. While iterating over LocalTUDecls, there were cases where we could modify LocalTUDecls, which could result in invalidating an iterator and an analyzer crash. Along the way, switch some uses of std::queue to std::dequeue, which should be slightly more efficient. Unfortunately, this is a difficult case to create a test case for. llvm-svn: 155680
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud