- Jun 28, 2007
-
-
Chris Lattner authored
llvm-svn: 39703
-
Chris Lattner authored
llvm-svn: 39702
-
Chris Lattner authored
recent changes. carbon.h now preprocesses just fine. llvm-svn: 39701
-
Chris Lattner authored
For example, for: int test(short S, long L) { return S /= L; } record that the division is done as a long, even though the result type is short. llvm-svn: 39700
-
Bill Wendling authored
Update with -parse-ast-check. llvm-svn: 39699
-
Bill Wendling authored
Missing support for LLVM casting operators. llvm-svn: 39698
-
Bill Wendling authored
Small cleanup. No need to assign to a variable before returning. llvm-svn: 39697
-
- Jun 27, 2007
-
-
Bill Wendling authored
Fixed checking to coincide with the correct lines. llvm-svn: 39696
-
Bill Wendling authored
- Revert use of -parse-ast-check. llvm-svn: 39695
-
Chris Lattner authored
llvm-svn: 39694
-
Chris Lattner authored
llvm-svn: 39693
-
Chris Lattner authored
llvm-svn: 39692
-
Chris Lattner authored
llvm-svn: 39691
-
Chris Lattner authored
llvm-svn: 39690
-
Bill Wendling authored
- Chris noticed that if there were multiple warnings/errors expected throughout the file and we were checking only one of them, then it would go ahead and say that the whole file was okay. Fixed this by adding a check for the line number as well as the string. llvm-svn: 39689
-
Bill Wendling authored
Reviewed by: Chris Lattner Split up lines to have only one expected output per line. Restored some checks. llvm-svn: 39688
-
Bill Wendling authored
Reviewed by: Chris Lattner - Reverted some checks because they're checking the preprocessor output. llvm-svn: 39687
-
Bill Wendling authored
Removed unnecessary typedef. llvm-svn: 39686
-
Chris Lattner authored
some ivars to more obvious names, eliminating some comments. llvm-svn: 39685
-
Chris Lattner authored
llvm-svn: 39684
-
Chris Lattner authored
llvm-svn: 39683
-
Chris Lattner authored
this produces: warn.c:4:3: warning: expression result unused X == Y; ^~~~~~ warn.c:5:3: warning: expression result unused (void)X; ^~~~~~~ warn.c:11:3: warning: expression result unused A == foo(1, 2); ^~~~~~~~~~~~~~ warn.c:13:3: warning: expression result unused foo(1,2)+foo(4,3); ^~~~~~~~~~~~~~~~~ llvm-svn: 39682
-
Bill Wendling authored
- Converted to use the -parse-ast-check flag. llvm-svn: 39681
-
Bill Wendling authored
- Convert to using the -parse-ast-check method to check warnings and errors. llvm-svn: 39680
-
Bill Wendling authored
- Shouldn't increment the iterator but a copy of it. llvm-svn: 39679
-
Bill Wendling authored
Reviewed by: Chris Lattner - Added a new diagnostic client, TextDiagnosticBuffer. It buffers all reported diagnostics. - Use the new diagnostic client to check that expected diagnostics are actually emitted. The way this is done is to put the expected diagnostic in a comment on the line you expect it to be emitted for. Like this: int X = A; // expected-warning {{blah}} - Use -parse-ast-check to use this feature. llvm-svn: 39678
-
Chris Lattner authored
llvm-svn: 39677
-
- Jun 23, 2007
-
-
Bill Wendling authored
- Separate out the AST streamers from the clang.cpp file into their very own special files. llvm-svn: 39676
-
Bill Wendling authored
Submitted by: Bill Wendling - Convert std::cerr to using fprintf(stderr, ...) instead. llvm-svn: 39675
-
Chris Lattner authored
llvm-svn: 39674
-
- Jun 22, 2007
-
-
Chris Lattner authored
of complex. We now produce optimal code for: void test(_Complex float *Y) { *Y = *Y + *Y; } $ clang -emit-llvm cg.c | llvm-as | opt -std-compile-opts | llc -march=x86-64 ... _test: movss (%rdi), %xmm0 addss %xmm0, %xmm0 movss 4(%rdi), %xmm1 movss %xmm0, (%rdi) addss %xmm1, %xmm1 movss %xmm1, 4(%rdi) ret llvm-svn: 39673
-
Chris Lattner authored
types. llvm-svn: 39672
-
Chris Lattner authored
llvm-svn: 39671
-
Chris Lattner authored
llvm-svn: 39670
-
Chris Lattner authored
void test(int A, _Complex float Y) { _Complex float X; X = X; } llvm-svn: 39669
-
Chris Lattner authored
llvm-svn: 39668
-
Chris Lattner authored
llvm-svn: 39667
-
- Jun 20, 2007
-
-
Chris Lattner authored
One major FIXME though. llvm-svn: 39666
-
Chris Lattner authored
llvm-svn: 39665
-
Chris Lattner authored
llvm-svn: 39664
-