commit | f785a7d611404cf4747287a2bbc59b4d0e6a5a8c | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Sat Jan 14 15:55:47 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Sat Jan 14 15:55:47 2012 +0000 |
tree | 96bf85203538403a6d581763eee3f0a630cd17fd | |
parent | 9fcbf2da816a24d39ed37a54ff91fba30362dd8a [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