Skip to content
Commit 66572afd authored by Eli Friedman's avatar Eli Friedman
Browse files

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
parent 3360d898
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment