aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2009-01-29 18:09:31 +0000
committerSteve Naroff <snaroff@apple.com>2009-01-29 18:09:31 +0000
commita51890346e0d81519d0656f44bce15c40bf63d3f (patch)
tree077564851cbcf3f5c802e637e3bbb70f3b91bf28 /lib/CodeGen/CodeGenModule.cpp
parent95effa1e2df6db814add998b0495a12bc58b621e (diff)
Hack Sema::LookupDeclInScope() to avoid calling Sema::LookupName() when parsing C/ObjC.
This results in a 1.7% improvement for "Cocoa.h". If we can figure out how to return a "Decl *", rather than a Sema::LookupResult(), we will likely bump the speedup from 1.7%->2.5%. I verified this, however couldn't get it to work without breaking a fair number of C++ test cases. Will discuss with Doug offline. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63320 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions