diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-16 20:52:59 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-16 20:52:59 +0000 |
commit | 26997fd58c9560584edd154618f2f2c15ee68af4 (patch) | |
tree | 2547d1e568bef397e15ee65aa30eb6c9677a0961 /lib/Analysis/MallocChecker.cpp | |
parent | 79c2278a66d8fc0943774d1b7c71a32f7764e1e2 (diff) |
While determining when to parse inline member functions of a class,
distinguish between nested classes (whose member functions cannot be
parsed until the innermost non-nested class is complete) and local
classes (that are defined within a function but are not necessarily
nested). The upshot of this change, which fixes PR5764, is that the
bodies of member functions of local (non-nested) classes need to be
parsed when the local class is complete (and no later), since they may
refer to function-local static variables, typedefs, enums, etc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93653 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MallocChecker.cpp')
0 files changed, 0 insertions, 0 deletions