Skip to content
  • Douglas Gregor's avatar
    De-virtualize getPreviousDecl() and getMostRecentDecl() when we know · ec9fd13c
    Douglas Gregor authored
    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
    ec9fd13c
Loading