commit | 47268a3f2843a8d64f3a6fef1e9a9dde1feb4a8c | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Apr 09 17:41:13 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Apr 09 17:41:13 2010 +0000 |
tree | 27de83043d82a323760b13ecabecf18373b0f948 | |
parent | 6cd3b9fb8a29bb70fff01719bdde238723d67c10 [diff] |
Remove all "used" static functions *after* we have performed all of the implicit template instantiations we need to perform. Otherwise, we end up erroneously diagnosing static functions as used if they were only used within an implicit template instantiation. Fixes a bunch of spurious failures when building Clang with Clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100872 91177308-0d34-0410-b5e6-96231b3b80d8