diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2018-02-01 03:55:27 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2018-02-01 03:55:27 +0000 |
commit | 1a6493b4e08c7789138b8087a44bcec53b9cd3fa (patch) | |
tree | 94ad40936e5f5f99d9575dda87e06e5f20d1516b /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 7ce2b4cd137483995cd0e1de72a0a49e8703a597 (diff) | |
download | bcm5719-llvm-1a6493b4e08c7789138b8087a44bcec53b9cd3fa.tar.gz bcm5719-llvm-1a6493b4e08c7789138b8087a44bcec53b9cd3fa.zip |
Add static_asserts to basic_ios and basic_stream_buf to ensure that that the traits match the character type. This is a requirement on the user - now we get consistent failures at compile time instead of incomprehensible error messages or runtime failures. This is also LWG#2994 - not yet adopted.
llvm-svn: 323945
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions