summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-03-26 05:50:28 +0000
committerDouglas Gregor <dgregor@apple.com>2010-03-26 05:50:28 +0000
commit0a29a05f029afce490db12f9fc00c3129fa8b701 (patch)
tree8e54dae3831079bba638423d83083a2f109fdf26 /clang/lib/CodeGen/CGClass.cpp
parente0b2ddb4926bfbe9fce22475d6e538e881baa4a4 (diff)
downloadbcm5719-llvm-0a29a05f029afce490db12f9fc00c3129fa8b701.tar.gz
bcm5719-llvm-0a29a05f029afce490db12f9fc00c3129fa8b701.zip
When deducing an integral template argument for a non-type template
parameter, keep the integral value exactly as it was in the source code rather than trying to convert it to the type of the non-type template parameter (which may still be dependent!). The value will then be converted to the appropriate type once we check the resulting template arguments. Fixes PR6707. llvm-svn: 99611
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud