diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-06 22:05:37 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-06 22:05:37 +0000 |
commit | 0782ef2bd0ef5025ac6512cfa445a80a464c3b7f (patch) | |
tree | 44b0eac9ccc692c296a1489fb112a8c66dc9e25f /lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp | |
parent | d97927d69b277120f8d403580c44acd84907d7b4 (diff) |
During name lookup, use redecl_iterator to walk over the redeclaration
chain to determine whether any declaration of the given entity is
visible, eliminating the redundant (and less efficient)
getPreviousDeclaration() implementation.
This tweak uncovered an omission in the handling of
RedeclarableTemplateDecl, where we weren't making sure to search for
additional redeclarations of a template in other module files. Things
would be cleaner if RedeclarableTemplateDecl actually used Redeclarable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp')
0 files changed, 0 insertions, 0 deletions