]> granicus.if.org Git - clang/commit
Use Sema's MarkDeclarationReferenced, which takes care of templates, instead of calli...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 6 Dec 2010 17:51:53 +0000 (17:51 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 6 Dec 2010 17:51:53 +0000 (17:51 +0000)
commit223ae5c26654e5fd7dacdafe43aff28a096ba63b
tree73fc44550f6146c02c651c57f0763ea2be29e92a
parentf0b0ccce127857e7e4fb829e017dbcb7487884c4
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