commit | c7469374548b06e50aa8b4d41bf1a35338e9b358 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed May 04 21:55:00 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed May 04 21:55:00 2011 +0000 |
tree | b759ac27e202c12d6f10398651337a5599616f70 | |
parent | 1f382510495b581e3028d670a23c7dcf5440be62 [diff] |
When converting an integral template argument value to a non-type template parameter of type 'bool', force the value to be zero or one. Fixes <rdar://problem/9169404>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130873 91177308-0d34-0410-b5e6-96231b3b80d8