| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
helper isConstantInitializer) to check whether an initializer is
constant. This passes tests, but it's possible that it'll cause
regressions with real-world code.
Future work:
1. The diagnostics obtained this way are lower quality at the moment;
some work both here and in Evaluate is needed for accurate diagnostics.
2. We probably need some extra code when we're in -pedantic mode so we
can strictly enforce the rules in C99 6.6p7.
3. Dead code cleanup (this should wait until after 2, because we might
want to re-use some of the code).
llvm-svn: 65265
|
| |
|
|
| |
llvm-svn: 65252
|
| |
|
|
|
|
| |
initialization (addresses Eli's comments I believe)
llvm-svn: 63562
|
| |
|
|
| |
llvm-svn: 63519
|
| |
|
|
|
|
| |
a bit more clear (rdar://5646070)
llvm-svn: 54606
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
report an error if a static initializer is not constant.
llvm-svn: 43058
|