summaryrefslogtreecommitdiff
path: root/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-05-07 16:56:58 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-05-07 16:56:58 +0000
commit16173fc9baad640bab38a826c9d83963ccd3a0f1 (patch)
treee5963c3972ec67b16ae8db963aaf00131cbef4fe /lib/Basic/FileSystemStatCache.cpp
parentd725b1e7ff06712cb7ef494dc391441e01a17beb (diff)
downloadclang-16173fc9baad640bab38a826c9d83963ccd3a0f1.tar.gz
clang-16173fc9baad640bab38a826c9d83963ccd3a0f1.tar.bz2
clang-16173fc9baad640bab38a826c9d83963ccd3a0f1.tar.xz
PR19562: Fix another temporary node leak in Clang debug info emission
While constructing ObjC Interface types we might create the declaration of some normal C++ types, thus adding things to the ReplaceMap. Make sure we process the ReplaceMap after the ObjC interfaces. In theory we know at this point, since we're at the end of the TU, that we won't be upgrading any declarations to definitions, so we could just construct non-temporary nodes, but that would require extra state in CGDebugInfo to conditionalize the creation of declaration nodes which seems annoying/more work than is appropriate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions