]> granicus.if.org Git - clang/commit
Split DeclarationName::getFETokenInfoAsVoid() into hot/cold paths and
authorDouglas Gregor <dgregor@apple.com>
Thu, 3 May 2012 23:18:44 +0000 (23:18 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 3 May 2012 23:18:44 +0000 (23:18 +0000)
commit514d3b6b93c83c0841d2f9dd7af8ecc2877fe921
tree1774faaa5731aaca69ef47b86d4a2b633f160796
parent301e2e40f9d56c2fa01d3021a4d8e2d343fafd35
Split DeclarationName::getFETokenInfoAsVoid() into hot/cold paths and
(trivially) make DeclContext::lookup()'s const version inlinable. Good
for 0.3% on <rdar://problem/11004361>.

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