diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-03-25 23:32:15 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-03-25 23:32:15 +0000 |
commit | ef1a09a3368c4ac421c00d14923cd31902ba9dfb (patch) | |
tree | c97ed6e00a2422a23a20db0140629eaef3890767 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 292ea551303f464b4a50f444195cf386f6a0edca (diff) | |
download | bcm5719-llvm-ef1a09a3368c4ac421c00d14923cd31902ba9dfb.tar.gz bcm5719-llvm-ef1a09a3368c4ac421c00d14923cd31902ba9dfb.zip |
Implement template instantiation for static data members of class
templates, including in-class initializers. For example:
template<typename T, T Divisor>
class X {
public:
static const T value = 10 / Divisor;
};
instantiated with, e.g.,
X<int, 5>::value
to get the value '2'.
llvm-svn: 67715
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions