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.

llvm-svn: 106252
8 files changed
tree: fc8a35501d61d350fe217f80b702858eb4d6eb28
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/