| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
|
|
|
|
| |
llvm-svn: 86233
|
|
|
|
|
|
|
|
|
|
|
|
| |
DiagnoseSignCompare into Sema::CheckSignCompare and call it from more places.
Add some enumerator tests. These seem to expose some oddities in the
types we're converting C++ enumerators to; in particular, they're converting
to unsigned before int, which seems to contradict 4.5 [conv.prom] p2.
Note to self: stop baiting Doug in my commit messages.
llvm-svn: 86128
|
|
|
|
|
|
|
|
| |
error->warning.
Fixes <rdar://problem/6762239> [sema] gcc incompatibility; error on incompatible operand types in ?:.
llvm-svn: 68617
|
|
|
|
|
|
| |
Tests and drivers updated, still need to shuffle dirs.
llvm-svn: 67602
|
|
|
|
|
|
| |
types ('int' and 'void')" on input that 'gcc -fsyntax-only' eats
llvm-svn: 51002
|
|
|
|
|
|
|
|
|
| |
tgmath.h.
Note that there is another issue with tgmath.h, so mandel.c still
doesn't work.
llvm-svn: 47069
|
|
|
|
| |
llvm-svn: 47005
|
|
|
|
| |
llvm-svn: 47003
|
|
|
|
|
|
| |
void*.
llvm-svn: 46939
|
|
|
|
| |
llvm-svn: 46577
|
|
|
|
| |
llvm-svn: 45961
|
|
|
|
|
|
|
|
| |
explicit casts.
Now, isNullPointerConstant() will return true for the following: "(void*)(double*)0"
llvm-svn: 45951
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove diagnostics from Sema::CheckIndirectionOperand(). C89/C99 allow dereferencing an incomplete type. clang appears to be emulating some incorrect gcc behavior (see below).
void
foo (void)
{
struct b;
struct b* x = 0;
struct b* y = &*x; // gcc produces an error ("dereferencing pointer to incomplete type")
}
With this patch, the above is now allowed.
Bug/Patch by Eli Friedman!
llvm-svn: 45933
|
|
to precede the check for two pointer operands.
llvm-svn: 45732
|