]> granicus.if.org Git - clang/commit
Make Attr::Clone() also clone the Inherited, IsPackExpansion and Implicit flags
authorHans Wennborg <hans@hanshq.net>
Sat, 31 May 2014 01:30:30 +0000 (01:30 +0000)
committerHans Wennborg <hans@hanshq.net>
Sat, 31 May 2014 01:30:30 +0000 (01:30 +0000)
commitffc3500bc9d543821fb35aa8dec0232e52d8e6c1
treec9e9db304ebe50c324e701e53ad297234751c131
parentfbb96d49ad234382a87e259c160379615e55dc86
Make Attr::Clone() also clone the Inherited, IsPackExpansion and Implicit flags

I was bitten by this when working with the dll attributes: when a dll
attribute was cloned from a class template declaration to its
specialization, the Inherited flag didn't get cloned.

Differential Revision: http://reviews.llvm.org/D3972

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209950 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/ClangAttrEmitter.cpp