summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/static-init.c
Commit message (Collapse)AuthorAgeFilesLines
* wrap some long diagnostics, make 'initializer is not a constant' diagnosticChris Lattner2008-08-101-2/+2
| | | | | | a bit more clear (rdar://5646070) llvm-svn: 54606
* Allow a pointer implicitly cast to a bool as a constant expression, as Eli Friedman2008-05-301-0/+4
| | | | | | | | | | 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
* Generate code for static variables that don't have initializers. Also, ↵Anders Carlsson2007-10-171-0/+3
report an error if a static initializer is not constant. llvm-svn: 43058
OpenPOWER on IntegriCloud