Switch isa_impl from a function template to a class template with a
authorDouglas Gregor <dgregor@apple.com>
Tue, 30 Mar 2010 18:05:52 +0000 (18:05 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 30 Mar 2010 18:05:52 +0000 (18:05 +0000)
commit0179e977234fef45b1877eb93a3c7565cdd1862d
treed4e9f8ead35ae48243eb766183aa3b6602585b3d
parent7a8cf2822de1c69551588fc4395bdd0fec18611f
Switch isa_impl from a function template to a class template with a
static inline member function doit(). This enables the use of partial
specialization to override the last stage of the "isa" check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99898 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/Casting.h
include/llvm/Type.h
include/llvm/Value.h