diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2008-05-30 18:14:48 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2008-05-30 18:14:48 +0000 |
commit | 66572afde48b08fc3c9cc2722ee8457e9ebc98e3 (patch) | |
tree | 5ced1479c5b408d11e43cf7ffeb99f39b8e8c12f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 3360d898ec6b7694a7c885abfbcbb00e576810b3 (diff) | |
download | bcm5719-llvm-66572afde48b08fc3c9cc2722ee8457e9ebc98e3.tar.gz bcm5719-llvm-66572afde48b08fc3c9cc2722ee8457e9ebc98e3.zip |
Allow a pointer implicitly cast to a bool as a constant expression, as
required by the standard (the standard doesn't know anything about
implicit casts).
Disallow pointers cast to non-integral arithmetic types as constant
expressions. This was previously allowed by accident.
llvm-svn: 51779
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions