- Jun 29, 2007
-
-
Bill Wendling authored
Reviewed by: Chris Lattner - Fix for C++ casting operators failing during parsing. Deriving the C++ cast expressions from CastExpr was the wrong way to go. Its constructor creates null QualTypes in one of its constructors. This doesn't work well with how the C++ casting expression class wanted to do things. Derive just from Expr instead. llvm-svn: 39714
-
Chris Lattner authored
llvm-svn: 39713
-
Chris Lattner authored
llvm-svn: 39712
-
Chris Lattner authored
llvm-svn: 39711
-
Chris Lattner authored
codegen support for +=. llvm-svn: 39710
-
Bill Wendling authored
- The && at the end was causing this to fail. Removed. llvm-svn: 39709
-
- Jun 28, 2007
-
-
Chris Lattner authored
llvm-svn: 39708
-
Chris Lattner authored
llvm-svn: 39707
-
Chris Lattner authored
llvm-svn: 39706
-
Chris Lattner authored
llvm-svn: 39705
-
Chris Lattner authored
llvm-svn: 39704
-
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
-