aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Decl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-14 15:55:47 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-14 15:55:47 +0000
commitf785a7d611404cf4747287a2bbc59b4d0e6a5a8c (patch)
tree96bf85203538403a6d581763eee3f0a630cd17fd /lib/AST/Decl.cpp
parent9fcbf2da816a24d39ed37a54ff91fba30362dd8a (diff)
Introduce Decl::getPreviousDecl() and Decl::getMostRecentDecl(),
virtual functions that provide previous/most recent redeclaration information for any declaration. Use this to eliminate the redundant, less efficient getPreviousDecl() functions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148184 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
0 files changed, 0 insertions, 0 deletions