Fix the storage class of method instantiations.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 15 Apr 2013 12:38:20 +0000 (12:38 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 15 Apr 2013 12:38:20 +0000 (12:38 +0000)
commit29cda59a9d79b725229948b27c90c5ba9a554e0c
tree802d17ef65255750cb1c3b24ee0e4fa57ced875f
parentb23ea72e48de3790c6a429c377adfd2c174bbfca
Fix the storage class of method instantiations.

We keep the "as written" storage class, but that is a fuzzy concept for
instantiations. With this patch instantiations of methods of class templates
now get a storage class that is based on the semantics of isStatic(). With this
can simplify isStatic() itself.

llvm-svn: 179521
clang/lib/AST/DeclCXX.cpp
clang/lib/Sema/SemaTemplateInstantiateDecl.cpp