]> granicus.if.org Git - clang/commit
Merging r195768:
authorBill Wendling <isanbard@gmail.com>
Wed, 27 Nov 2013 05:28:46 +0000 (05:28 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 27 Nov 2013 05:28:46 +0000 (05:28 +0000)
commitb8110d4e00a973c3238e23110e3d405da55fa7d3
treed7e10e2c78385f23c23a0b8407608b9ad3a5f1ea
parent45c2eed19c012d8b5e686aedb28cdbb36347fee5
Merging r195768:
------------------------------------------------------------------------
r195768 | rafael | 2013-11-26 08:09:08 -0800 (Tue, 26 Nov 2013) | 3 lines

Don't call getMostRecentDecl when we know we have it.

On a Release build this takes the testcase in pr18055 from 0m3.892s to 0m1.452s.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_34@195816 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp