diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-05-04 21:55:00 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-05-04 21:55:00 +0000 |
| commit | c7469374548b06e50aa8b4d41bf1a35338e9b358 (patch) | |
| tree | b759ac27e202c12d6f10398651337a5599616f70 /lib/CodeGen/CGExprScalar.cpp | |
| parent | 1f382510495b581e3028d670a23c7dcf5440be62 (diff) | |
| download | clang-c7469374548b06e50aa8b4d41bf1a35338e9b358.tar.gz clang-c7469374548b06e50aa8b4d41bf1a35338e9b358.tar.bz2 clang-c7469374548b06e50aa8b4d41bf1a35338e9b358.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions
