Chandler Carruth
73ca723785
Try a completely different approach to this type trait to appease older
...
compilers. It seems that GCC 4.3 (and likely older) simply aren't going
to do SFINAE on non-type template parameters the way Clang and modern
GCCs do...
Now we detect the implicit conversion to an integer type, and then
blacklist classes, pointers, and floating point types. This seems to
work well enough, and I'm hopeful will return the bots to life.
llvm-svn: 152227
2012-03-07 12:27:35 +00:00
..
2010-11-29 19:44:50 +00:00
2010-12-07 18:11:54 +00:00
2011-04-18 22:44:46 +00:00
2010-11-29 19:44:50 +00:00
2011-11-04 18:30:30 +00:00
2011-11-20 11:22:03 +00:00
2011-11-20 19:09:04 +00:00
2011-11-04 18:30:30 +00:00
2011-05-21 19:13:10 +00:00
2012-02-17 18:59:53 +00:00
2009-12-23 16:08:15 +00:00
2011-11-16 08:38:26 +00:00
2011-11-16 01:36:50 +00:00
2012-02-07 19:36:01 +00:00
2011-11-15 05:24:26 +00:00
2011-07-21 14:31:17 +00:00
2010-12-17 06:20:15 +00:00
2011-05-04 23:26:59 +00:00
2011-09-13 19:42:16 +00:00
2010-08-04 09:30:20 +00:00
2012-02-06 22:41:47 +00:00
2011-11-05 09:45:17 +00:00
2011-11-05 09:45:17 +00:00
2009-12-23 23:19:43 +00:00
2011-07-14 21:50:04 +00:00
2010-11-29 18:16:10 +00:00
2011-11-04 18:11:56 +00:00
2012-02-04 01:30:01 +00:00
2011-11-04 18:30:30 +00:00
2011-12-12 17:34:04 +00:00
2012-01-22 09:01:03 +00:00
2010-11-29 19:44:50 +00:00
2011-03-14 22:41:50 +00:00
2011-06-23 14:02:13 +00:00
2011-12-15 21:11:38 +00:00
2011-03-31 13:06:39 +00:00
2011-10-10 21:21:34 +00:00
2010-09-01 14:20:41 +00:00
2011-10-04 17:24:48 +00:00
2011-07-19 14:42:50 +00:00
2011-11-15 16:26:38 +00:00
2012-01-05 18:28:46 +00:00
2010-11-29 19:44:50 +00:00
2012-02-06 21:44:22 +00:00
2011-08-12 20:24:12 +00:00
2011-10-16 05:43:57 +00:00
2012-01-23 22:55:02 +00:00
2009-11-05 13:30:28 +00:00
2010-11-29 18:16:10 +00:00
2012-01-29 20:15:10 +00:00
2012-03-06 19:54:44 +00:00
2011-11-14 20:50:16 +00:00
2011-12-12 21:14:40 +00:00
2011-03-18 16:39:36 +00:00
2011-09-15 23:13:00 +00:00
2012-02-29 01:09:06 +00:00
2010-11-29 19:44:50 +00:00
2010-11-29 18:16:10 +00:00
2011-07-25 09:48:08 +00:00
2009-11-05 13:30:28 +00:00
2010-08-07 11:45:42 +00:00
2010-12-17 17:22:36 +00:00
2011-11-01 05:11:01 +00:00
2011-09-14 23:21:47 +00:00
2012-02-10 14:26:42 +00:00
2010-11-29 18:16:10 +00:00
2011-04-15 05:18:47 +00:00
2012-01-15 08:41:35 +00:00
2011-12-13 23:16:49 +00:00
2009-12-19 01:38:42 +00:00
2011-02-03 03:32:32 +00:00
2012-02-05 22:14:15 +00:00
2010-04-08 15:22:35 +00:00
2011-04-15 05:18:47 +00:00
2010-07-26 21:05:37 +00:00
2010-11-29 18:16:10 +00:00
2012-03-01 19:45:47 +00:00
2011-04-15 05:18:47 +00:00
2011-10-16 04:47:35 +00:00
2010-11-29 19:44:50 +00:00
2011-10-16 10:48:29 +00:00
2012-02-29 01:09:06 +00:00
2010-07-14 22:38:02 +00:00
2010-11-29 18:16:10 +00:00
2012-03-01 18:55:25 +00:00
2010-11-03 16:14:16 +00:00
2011-07-21 14:31:17 +00:00
2012-03-05 19:33:20 +00:00
2011-08-24 18:08:43 +00:00
2010-11-29 19:44:50 +00:00
2010-11-29 19:44:50 +00:00
2010-11-29 18:16:10 +00:00
2011-04-15 05:18:47 +00:00
2010-10-07 20:32:40 +00:00
2012-03-07 12:27:35 +00:00
2011-07-25 10:32:27 +00:00
2011-11-28 00:49:01 +00:00
2010-12-20 22:28:03 +00:00
2011-05-26 05:24:15 +00:00