commit | c070cc602d6eefea881f71a60de09e05b54c3fdd | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Jun 17 23:14:26 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Jun 17 23:14:26 2010 +0000 |
tree | 684452406a38328699af0c2320f44ed6e482934c | |
parent | 353b33b2bbd9e8715c7a0231681921bcfdfe4cbf [diff] |
Given Decl::isUsed() a flag indicating when to consider the "used" attribute as part of the calculation. Sema::MarkDeclReferenced(), and a few other places, want only to consider the "used" bit to determine, e.g, whether to perform template instantiation. Fixes a linkage issue with Boost.Serialization. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106252 91177308-0d34-0410-b5e6-96231b3b80d8