]> granicus.if.org Git - clang/commit
Use attributes from the definition (if available) when
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 6 Jul 2011 15:46:09 +0000 (15:46 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 6 Jul 2011 15:46:09 +0000 (15:46 +0000)
commit19f74acdf8842ceece578b7307884f5ba22d7f59
tree7466c9a1339d1e88e038553b850cd4c35b0090f8
parentcaf01c5483d0c2f8542d1e18ca6213dc6d0e54bf
Use attributes from the definition (if available) when
instantiating functions.

Fixes PR10272.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134491 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaTemplateInstantiateDecl.cpp
test/CodeGenCXX/noinline-template.cpp [new file with mode: 0644]