Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | reassociate should do this. | Chris Lattner | 2010-01-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 94374 | |||||
* | add a note. | Chris Lattner | 2010-01-24 | 1 | -0/+39 | |
| | | | | llvm-svn: 94373 | |||||
* | just remove this test, it is not reduced, is not clear what its testing for and | Chris Lattner | 2010-01-24 | 1 | -2870/+0 | |
| | | | | | | it is dying due to fragility in the asmprinter .s comments. llvm-svn: 94372 | |||||
* | this test has been failing or a long time, just disable it for now to get | Chris Lattner | 2010-01-24 | 1 | -5/+5 | |
| | | | | | | back to green. llvm-svn: 94371 | |||||
* | fix some issues where we weren't emitting enough newlines. | Chris Lattner | 2010-01-24 | 2 | -0/+3 | |
| | | | | llvm-svn: 94370 | |||||
* | when emitting DIEs, emit the comment on the same line as the directive. | Chris Lattner | 2010-01-24 | 1 | -2/+3 | |
| | | | | | | This fixes FrontendObjC/2009-11-30-Objc-ID.m llvm-svn: 94369 | |||||
* | Enhance test to check on expected rewritten output. | Fariborz Jahanian | 2010-01-24 | 1 | -1/+4 | |
| | | | | llvm-svn: 94368 | |||||
* | Fix a pretty bad bug where if a constructor (or conversion function) was ↵ | Anders Carlsson | 2010-01-24 | 2 | -11/+67 | |
| | | | | | | marked as 'explicit', but then defined out-of-line, we would not treat it as being explicit. llvm-svn: 94366 | |||||
* | Implement [dcl.fct.spec]p6. | Anders Carlsson | 2010-01-24 | 3 | -5/+34 | |
| | | | | llvm-svn: 94365 | |||||
* | Ok, turn back off -Wunreachable-code by default. | Mike Stump | 2010-01-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 94364 | |||||
* | Mark PartialDiagnostic.h as a C++ header | Sebastian Redl | 2010-01-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 94363 | |||||
* | Land test case. | Anders Carlsson | 2010-01-24 | 1 | -0/+13 | |
| | | | | llvm-svn: 94362 | |||||
* | Implement instantiation of AsmStmts (Crazy, I know) | Anders Carlsson | 2010-01-24 | 7 | -9/+94 | |
| | | | | llvm-svn: 94361 | |||||
* | Tweak clang_visitChildren comment. | Daniel Dunbar | 2010-01-24 | 1 | -3/+1 | |
| | | | | llvm-svn: 94360 | |||||
* | cindex/Python: Add Cursor.get_children() | Daniel Dunbar | 2010-01-24 | 1 | -3/+18 | |
| | | | | llvm-svn: 94359 | |||||
* | cindex/Python: Remove Declaration class, this has been removed from the API. | Daniel Dunbar | 2010-01-24 | 1 | -50/+1 | |
| | | | | llvm-svn: 94358 | |||||
* | cindex/Python: Eliminate Entity class, it has been removed from CIndex. | Daniel Dunbar | 2010-01-24 | 1 | -18/+2 | |
| | | | | llvm-svn: 94357 | |||||
* | Simplify. | Daniel Dunbar | 2010-01-24 | 1 | -9/+3 | |
| | | | | llvm-svn: 94356 | |||||
* | cindex/Python: Add TranslationUnit.cursor. | Daniel Dunbar | 2010-01-24 | 2 | -5/+17 | |
| | | | | llvm-svn: 94355 | |||||
* | cindex/Python: Tweak Source{Location,Range} | Daniel Dunbar | 2010-01-24 | 1 | -18/+21 | |
| | | | | | | | | | | | - Add __repr__ on SourceLocation. - Fix File object construction to use c_object_p type, and use None instead of invalid File objects. - Make SourceRange.{start,end} properties. llvm-svn: 94354 | |||||
* | cindex/Python: Make Cursor.is_... functions not properties. | Daniel Dunbar | 2010-01-24 | 1 | -8/+4 | |
| | | | | | | Also, add ValueError check before calling Cursor_spelling. llvm-svn: 94353 | |||||
* | Mangle static variables with an extra name to distinguish them from ↵ | Alexis Hunt | 2010-01-24 | 5 | -15/+28 | |
| | | | | | | | | non-static variables in the same TU. Fixes PR5966 for real this time; also reverts r92911, which had a incorrect fix. llvm-svn: 94352 | |||||
* | Index.h: Tweak comments, delete trailing whitespace, fix a few typos, etc. | Daniel Dunbar | 2010-01-24 | 1 | -140/+144 | |
| | | | | llvm-svn: 94351 | |||||
* | move PR5945 here. | Chris Lattner | 2010-01-24 | 1 | -0/+29 | |
| | | | | llvm-svn: 94350 | |||||
* | Initial checkin of CIndex Python bindings, by Andrew Sutton! | Daniel Dunbar | 2010-01-24 | 8 | -0/+573 | |
| | | | | | | | - Some tweaks by me for API changes, Darwin, and x86_64 support. Still needs substantial updating to match recent CIndex API changes. llvm-svn: 94349 | |||||
* | fix PR6034, a crash on invalid where the switch stack would get | Chris Lattner | 2010-01-24 | 5 | -8/+33 | |
| | | | | | | unbalanced. llvm-svn: 94347 | |||||
* | add a prototype for __builtin_fpclassify. We don't know how to | Chris Lattner | 2010-01-24 | 1 | -0/+1 | |
| | | | | | | | | | codegen it, so we get 'cannot compile this builtin function yet' errors, just like we do currently for __builtin_isinf. However, this should let us parse headers that use it without barfing, which should help PR6083. llvm-svn: 94346 | |||||
* | fix a parsing problem on instructions like: | Chris Lattner | 2010-01-24 | 3 | -6/+6 | |
| | | | | | | | | movw $8, (_cost_table_-L97$pb)+66(%eax) After the parens, we could still have a binop. llvm-svn: 94345 | |||||
* | disable this test, it is failing sporadically. | Chris Lattner | 2010-01-24 | 1 | -2/+6 | |
| | | | | llvm-svn: 94344 | |||||
* | This corrects an error in the type of the Llvm.dispose_context function. | Chris Lattner | 2010-01-24 | 2 | -2/+2 | |
| | | | | | | Patch by James Woodyatt! llvm-svn: 94343 | |||||
* | It seems better to scalarize vectors of size 1 instead of widening them. | Mon P Wang | 2010-01-24 | 4 | -1/+33 | |
| | | | | | | Add support to widen SETCC. llvm-svn: 94342 | |||||
* | Fix a nasty bug where temporaries weren't marked as being conditional in ↵ | Anders Carlsson | 2010-01-24 | 3 | -1/+42 | |
| | | | | | | some cases. llvm-svn: 94341 | |||||
* | Use new initialization code when dealing with [dcl.init.aggr]p12. This fixes ↵ | Anders Carlsson | 2010-01-24 | 3 | -20/+62 | |
| | | | | | | the bug where array elements and member initializers weren't copied correctly. llvm-svn: 94340 | |||||
* | change the canonical form of "cond ? -1 : 0" to be | Chris Lattner | 2010-01-24 | 6 | -73/+80 | |
| | | | | | | | | "sext cond" instead of a select. This simplifies some instcombine code, matches the policy for zext (cond ? 1 : 0 -> zext), and allows us to generate better code for a testcase on ppc. llvm-svn: 94339 | |||||
* | Improved widening loads by adding support for wider loads if | Mon P Wang | 2010-01-24 | 9 | -280/+597 | |
| | | | | | | | the alignment allows. Fixed a bug where we didn't use a vector load/store for PR5626. llvm-svn: 94338 | |||||
* | fix a potential overflow issue Eli pointed out. | Chris Lattner | 2010-01-23 | 1 | -3/+3 | |
| | | | | llvm-svn: 94336 | |||||
* | Change all InitializedEntity pointers over to be references. | Anders Carlsson | 2010-01-23 | 1 | -137/+81 | |
| | | | | llvm-svn: 94335 | |||||
* | Start passing InitializedEntity to CheckDesignatedInitializer. | Anders Carlsson | 2010-01-23 | 1 | -9/+22 | |
| | | | | llvm-svn: 94334 | |||||
* | Preserve access for enum constants during template instantiation. | John McCall | 2010-01-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 94333 | |||||
* | More init work, adding more entity parameters. | Anders Carlsson | 2010-01-23 | 1 | -10/+27 | |
| | | | | llvm-svn: 94332 | |||||
* | Speculatively revert r94322 to see if it fixes darwin selfhost buildbot. | Nick Lewycky | 2010-01-23 | 2 | -82/+23 | |
| | | | | llvm-svn: 94331 | |||||
* | Temporary flip default for -Wunreachable-code so some bots can test it | Mike Stump | 2010-01-23 | 1 | -1/+1 | |
| | | | | | | | out. They should all be done later tonight, but if something bad happens, feel free to revert sooner. llvm-svn: 94330 | |||||
* | Use the new init code for member subobjects. | Anders Carlsson | 2010-01-23 | 4 | -8/+23 | |
| | | | | llvm-svn: 94329 | |||||
* | Switch some array initialization over to the new init code. | Anders Carlsson | 2010-01-23 | 2 | -7/+25 | |
| | | | | llvm-svn: 94327 | |||||
* | Insulate these from changes to the default for -Wunreachable-code. | Mike Stump | 2010-01-23 | 14 | -32/+32 | |
| | | | | llvm-svn: 94326 | |||||
* | Baby steps towards migrating the InitListChecker over to the new ↵ | Anders Carlsson | 2010-01-23 | 2 | -33/+69 | |
| | | | | | | initialization code. Pass an InitializedEntity pointer through to most init checker functions. Right now, it's ignored everywhere except when initializing vectors in C++. llvm-svn: 94325 | |||||
* | When an InitializedEntity is passed to CheckSingleInitializer, call the new ↵ | Anders Carlsson | 2010-01-23 | 1 | -22/+36 | |
| | | | | | | Sema::PerformCopyInitialization overload. llvm-svn: 94324 | |||||
* | third bug from PR6119: the xor dupe extension allows | Chris Lattner | 2010-01-23 | 2 | -2/+29 | |
| | | | | | | | | for arbitrary terminators in predecessors, don't assume it is a conditional or uncond branch. The testcase shows an example where they can happen with switches. llvm-svn: 94323 | |||||
* | Teach DAE that even though it can't modify the function signature of an | Nick Lewycky | 2010-01-23 | 2 | -23/+82 | |
| | | | | | | | externally visible function, it can still find all callers of it and replace the parameters to a dead argument with undef. llvm-svn: 94322 | |||||
* | add an early out to ProcessBranchOnXOR to speed it up, | Chris Lattner | 2010-01-23 | 2 | -0/+52 | |
| | | | | | | | | handle the case when we can infer an input to the xor from all inputs that agree, instead of going into an infinite loop. Another part of PR6199 llvm-svn: 94321 |