| commit | ec9fd13c775ae53ecde15da9bb725e66a7e52664 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Sat Jan 14 16:38:05 2012 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Sat Jan 14 16:38:05 2012 +0000 |
| tree | af59921e4cb903673bd786592979581ce449d270 | |
| parent | b009517ad48365a16f45d482deea28a4af40ebaa [diff] |
De-virtualize getPreviousDecl() and getMostRecentDecl() when we know we have a redeclarable type, and only use the new virtual versions (getPreviousDeclImpl() and getMostRecentDeclImpl()) when we don't have that type information. This keeps us from penalizing users with strict type information (and is the moral equivalent of a "final" method). Plus, settle on the names getPreviousDecl() and getMostRecentDecl() throughout. llvm-svn: 148187