diff options
| author | Douglas Gregor <dgregor@apple.com> | 2012-05-04 16:32:21 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2012-05-04 16:32:21 +0000 |
| commit | 7bfb2d026ec99e920db08ee2632683908b6db7e6 (patch) | |
| tree | 424944895fb0c987948dfe236f7035d9eedc431c /llvm/lib/Support/LockFileManager.cpp | |
| parent | 5ff430ce06dbbcc9fb99f06fa111e508314fad95 (diff) | |
| download | bcm5719-llvm-7bfb2d026ec99e920db08ee2632683908b6db7e6.tar.gz bcm5719-llvm-7bfb2d026ec99e920db08ee2632683908b6db7e6.zip | |
Move Sema::RequireCompleteType() and Sema::RequireCompleteExprType()
off PartialDiagnostic. PartialDiagnostic is rather heavyweight for
something that is in the critical path and is rarely used. So, switch
over to an abstract-class-based callback mechanism that delays most of
the work until a diagnostic is actually produced. Good for ~11k code
size reduction in the compiler and 1% speedup in -fsyntax-only on the
code in <rdar://problem/11004361>.
llvm-svn: 156176
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions

