- Nov 28, 2007
-
-
Ted Kremenek authored
a bug where the statement pretty-printer used iostreams but the AST printer did not. This was an issue when dumping ASTs to something other than stderr. Updated SerializationTest to use the new iostreams interface for the AST printer. llvm-svn: 44417
-
Ted Kremenek authored
llvm-svn: 44416
-
Ted Kremenek authored
Introduced a few line breaks to make the Makefile easier to read. llvm-svn: 44413
-
Ted Kremenek authored
case simply performs --test-pickling on the code found in Sema/stmt_exprs.c. llvm-svn: 44412
-
Ted Kremenek authored
(1) Parsed ASTs are pretty-printed to a text file. (2) The ASTs are serialized to disk. (3) The ASTs are deserialized from disk. (4) The deserialized ASTs are pretty-printed to a text file. (5) The two pretty-printed files are compared. If they are different, the test fails. llvm-svn: 44411
-
Ted Kremenek authored
subdirectories mirroring where the test case file is located For example, for the test case "Sema/stmt_exprs.c", instead of the files "Output/stmt_exprs.c.out" and "Output/stmt_exprs.c.out.script" being created, the files "Output/Sema/stmt_exprs.c.out" and "Output/Sema/stmt_exprs.c.out.script" are created. This prevents any collisions from different test directories that have the same file name for a test case, and also makes it clear where the test case was drawn from. llvm-svn: 44410
-
Ted Kremenek authored
case testing the frontend's support of statement expressions was not being executed. llvm-svn: 44409
-
Chris Lattner authored
Bug pointed out by Michael Zolda, thanks! llvm-svn: 44408
-
Oliver Hunt authored
llvm-svn: 44398
-
Oliver Hunt authored
llvm-svn: 44397
-
Anders Carlsson authored
llvm-svn: 44396
-
Chris Lattner authored
merge string literals when it is not provided. llvm-svn: 44394
-
Anders Carlsson authored
Add more intrinsics. We can now correctly parse both Carbon.h and Cocoa.h without having to do -arch ppc. llvm-svn: 44392
-
Chris Lattner authored
llvm-svn: 44388
-
- Nov 27, 2007
-
-
Ted Kremenek authored
which is now used (or subclasssed) by the ASTConsumers. This new class stores a FILE* that is used for writing, instead of just hardwiring output to stderr (it defaults to stderr if no FILE* is provided). Modified CreateASTPrinter() to accept a FILE* for printing. llvm-svn: 44377
-
Chris Lattner authored
llvm-svn: 44376
-
Chris Lattner authored
diagnostic without a location. This produces: simpleTest.c:2:18: error: initializer element is not constant int *myPointer = &(myArray[2]); ^~~~~~~~~~~~~ instead of: error: initializer element is not constant llvm-svn: 44375
-
Chris Lattner authored
llvm-svn: 44369
-
Chris Lattner authored
llvm-svn: 44367
-
Steve Naroff authored
Move the null pointer constant check from Sema::CheckSingleInitializer/ActOnCallExpr/CheckMessageArgumentTypes/ActOnReturnStmt to Sema::CheckSingleAssignmentConstraints. This makes sure all null pointer assignments are considered compatible. Thanks to Seo Sanghyeon for the bug, follow-through, and patch! llvm-svn: 44366
-
Chris Lattner authored
llvm-svn: 44358
-
Anders Carlsson authored
Add builtin type signature support for vector types. Add correct type signatures for a bunch of MMX builtins. We now parse all the intrinsics in mmintrin.h llvm-svn: 44357
-
Anders Carlsson authored
llvm-svn: 44356
-
Chris Lattner authored
static and inline at least. llvm-svn: 44355
-
Anders Carlsson authored
llvm-svn: 44350
-
Anders Carlsson authored
llvm-svn: 44349
-
Ted Kremenek authored
NumericLiteralParser::GetFloatValue(). Upon method return, this flag has the value true if the returned APFloat can exactly represent the number in the parsed text, and false otherwise. Modified the implementation of GetFloatValue() to parse literals using APFloat's convertFromString method (which allows us to set the value of isExact). llvm-svn: 44339
-
- Nov 26, 2007
-
-
Ted Kremenek authored
llvm-svn: 44338
-
Ted Kremenek authored
llvm-svn: 44337
-
Ted Kremenek authored
http://llvm.org/viewvc/llvm-project?view=rev&revision=44089 "Decl" once again can no longer be NULL, so the NULL checks are not needed. llvm-svn: 44336
-
Fariborz Jahanian authored
llvm-svn: 44335
-
Kevin authored
Removes link to status page till the info gets added. Someone put us on Reddit; Don't want it to look bad on the project. :) http://programming.reddit.com/info/61f8g/comments/ llvm-svn: 44334
-
Fariborz Jahanian authored
A potential API bug in ReplaceText pending (A FIXME is added). llvm-svn: 44333
-
Ted Kremenek authored
the LHS subexpression can be NULL. Patch provided by Nuno Lopes! llvm-svn: 44328
-
Ted Kremenek authored
extension "?:" for the ternary operator, e.g.: x ?: y; This expression is represented in the clang ASTs as a ConditionalOperator whose LHS expression is NULL. Now we handle this special case, causing the block containing the condition to be a predecessor to the block that "merges" the values of the ternary operator. Thanks to Nuno Lopes for identifying and diagnosing this bug! llvm-svn: 44327
-
Bill Wendling authored
looking only for { and } instead of {{ and }}. Changed it to check for this explicitly. llvm-svn: 44326
-
Chris Lattner authored
missing middle expression, and fix a codegen bug where we didn't correctly promote the condition to the right result type. This fixes PR1824. llvm-svn: 44322
-
Chris Lattner authored
llvm-svn: 44321
-
- Nov 25, 2007
-
-
Chris Lattner authored
llvm-svn: 44316
-
Ted Kremenek authored
Moved utility functions IgnoreParen and friends to be static inline functions defined in SemaUtil.h. Added SemaUtil.h to Xcode project. llvm-svn: 44312
-