]> granicus.if.org Git - clang/commit
When instantiating a field decl, make sure to clone its attributes. With this change...
authorAnders Carlsson <andersca@mac.com>
Sat, 7 Nov 2009 06:07:58 +0000 (06:07 +0000)
committerAnders Carlsson <andersca@mac.com>
Sat, 7 Nov 2009 06:07:58 +0000 (06:07 +0000)
commitd8fe2d56fb5463c9d109e8c6dab2e98b06bee186
tree1a98530d669a1e8e3a31959674efc07672703f1d
parent31d8cadc8337b5f90c2e5eddf712d769e99c977b
When instantiating a field decl, make sure to clone its attributes. With this change FileCheck no longer crashes when it's run without any arguments.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86344 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/SemaTemplate/instantiate-attr.cpp [new file with mode: 0644]