]> granicus.if.org Git - clang/commit
Make Sema::LocallyScopedExternalDecls lazily deserialized. In theory,
authorDouglas Gregor <dgregor@apple.com>
Thu, 28 Jul 2011 14:20:37 +0000 (14:20 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 28 Jul 2011 14:20:37 +0000 (14:20 +0000)
commitec12ce2f6da44bfc9048772327a3924498099d60
treed0b5007de205fd0a4674df6f47b3b0108f5877ee
parenta26da1a97ea9afd87b175d32490c22f936c89000
Make Sema::LocallyScopedExternalDecls lazily deserialized. In theory,
we could turn this into an on-disk hash table so we don't load the
whole thing the first time we need it. However, it tends to be very,
very small (i.e., empty) for most precompiled headers, so it isn't all
that interesting.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136352 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/ExternalSemaSource.h
include/clang/Sema/Sema.h
include/clang/Serialization/ASTReader.h
lib/Sema/SemaDecl.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp