Use Sema's MarkDeclarationReferenced, which takes care of templates, instead of calli...
commit47c2fbcc2618b1d6a0d6a3d3236d0e57f18fd724
authorArgiris Kirtzidis <akyrtzi@gmail.com>
Mon, 6 Dec 2010 17:51:53 +0000 (6 17:51 +0000)
committerArgiris Kirtzidis <akyrtzi@gmail.com>
Mon, 6 Dec 2010 17:51:53 +0000 (6 17:51 +0000)
tree73fc44550f6146c02c651c57f0763ea2be29e92a
parente9e23cefab9552e3b657d0ca16647aa4927955bc
Use Sema's MarkDeclarationReferenced, which takes care of templates, instead of calling Decl's setUsed directly.
Thanks to John for the hint!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121014 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclAttr.cpp