Skip to content
Commit 733067d2 authored by Chris Lattner's avatar Chris Lattner
Browse files

TagDecl now holds a cache for the type corresponding to it. This speeds up

ASTContext::getTagDeclType by not having to do a linear search.  With this,
parse time for carbon.h drops from 21.8s to 16.0s and # slow lookups drop from
83K to 63K.

llvm-svn: 39306
parent 4eb445d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment