]> granicus.if.org Git - clang/commit
De-virtualize some const versions of getCanonicalDecl by redirecting to the non-const...
authorCraig Topper <craig.topper@gmail.com>
Sun, 10 May 2015 18:40:12 +0000 (18:40 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 10 May 2015 18:40:12 +0000 (18:40 +0000)
commit117339a2345064b7c77c82608725b31ea2acb05a
tree24a4e8be11dbd400e9b61f204d6972416f6cf44a
parent9b03bacc4aa53f53d6115fcafb6c2fed7ffe9594
De-virtualize some const versions of getCanonicalDecl by redirecting to the non-const version. Most of the Decl hierarchy already did it this way this just makes the rest consistent.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236959 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
include/clang/AST/DeclCXX.h
lib/AST/Decl.cpp