]> granicus.if.org Git - clang/commit
When we try (but fail) to build a precompiled preamble, wait for a
authorDouglas Gregor <dgregor@apple.com>
Wed, 4 Aug 2010 05:53:38 +0000 (05:53 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 4 Aug 2010 05:53:38 +0000 (05:53 +0000)
commiteababfbddb74d186f78783a9731a78ad371c9800
tree69dda67931f51627710f74270171d4dfe4537153
parente898ed5f165e0e8cdc6b52115b41ecc3df63168c
When we try (but fail) to build a precompiled preamble, wait for a
short "cooling off" period (defaulting to 5 reparses) before trying to
build a precompiled preamble again. Previously, if we failed to build
the precompiled preamble at any time, we just gave up the whole
charade any never tried again.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110187 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/ASTUnit.h
lib/Frontend/ASTUnit.cpp