summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* reassociate should do this.Chris Lattner2010-01-241-1/+1
| | | | llvm-svn: 94374
* add a note.Chris Lattner2010-01-241-0/+39
| | | | llvm-svn: 94373
* just remove this test, it is not reduced, is not clear what its testing for andChris Lattner2010-01-241-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 getChris Lattner2010-01-241-5/+5
| | | | | | back to green. llvm-svn: 94371
* fix some issues where we weren't emitting enough newlines.Chris Lattner2010-01-242-0/+3
| | | | llvm-svn: 94370
* when emitting DIEs, emit the comment on the same line as the directive.Chris Lattner2010-01-241-2/+3
| | | | | | This fixes FrontendObjC/2009-11-30-Objc-ID.m llvm-svn: 94369
* Enhance test to check on expected rewritten output.Fariborz Jahanian2010-01-241-1/+4
| | | | llvm-svn: 94368
* Fix a pretty bad bug where if a constructor (or conversion function) was ↵Anders Carlsson2010-01-242-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 Carlsson2010-01-243-5/+34
| | | | llvm-svn: 94365
* Ok, turn back off -Wunreachable-code by default.Mike Stump2010-01-241-1/+1
| | | | llvm-svn: 94364
* Mark PartialDiagnostic.h as a C++ headerSebastian Redl2010-01-241-1/+1
| | | | llvm-svn: 94363
* Land test case.Anders Carlsson2010-01-241-0/+13
| | | | llvm-svn: 94362
* Implement instantiation of AsmStmts (Crazy, I know)Anders Carlsson2010-01-247-9/+94
| | | | llvm-svn: 94361
* Tweak clang_visitChildren comment.Daniel Dunbar2010-01-241-3/+1
| | | | llvm-svn: 94360
* cindex/Python: Add Cursor.get_children()Daniel Dunbar2010-01-241-3/+18
| | | | llvm-svn: 94359
* cindex/Python: Remove Declaration class, this has been removed from the API.Daniel Dunbar2010-01-241-50/+1
| | | | llvm-svn: 94358
* cindex/Python: Eliminate Entity class, it has been removed from CIndex.Daniel Dunbar2010-01-241-18/+2
| | | | llvm-svn: 94357
* Simplify.Daniel Dunbar2010-01-241-9/+3
| | | | llvm-svn: 94356
* cindex/Python: Add TranslationUnit.cursor.Daniel Dunbar2010-01-242-5/+17
| | | | llvm-svn: 94355
* cindex/Python: Tweak Source{Location,Range}Daniel Dunbar2010-01-241-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 Dunbar2010-01-241-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 Hunt2010-01-245-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 Dunbar2010-01-241-140/+144
| | | | llvm-svn: 94351
* move PR5945 here.Chris Lattner2010-01-241-0/+29
| | | | llvm-svn: 94350
* Initial checkin of CIndex Python bindings, by Andrew Sutton!Daniel Dunbar2010-01-248-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 Lattner2010-01-245-8/+33
| | | | | | unbalanced. llvm-svn: 94347
* add a prototype for __builtin_fpclassify. We don't know how toChris Lattner2010-01-241-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 Lattner2010-01-243-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 Lattner2010-01-241-2/+6
| | | | llvm-svn: 94344
* This corrects an error in the type of the Llvm.dispose_context function.Chris Lattner2010-01-242-2/+2
| | | | | | Patch by James Woodyatt! llvm-svn: 94343
* It seems better to scalarize vectors of size 1 instead of widening them.Mon P Wang2010-01-244-1/+33
| | | | | | Add support to widen SETCC. llvm-svn: 94342
* Fix a nasty bug where temporaries weren't marked as being conditional in ↵Anders Carlsson2010-01-243-1/+42
| | | | | | some cases. llvm-svn: 94341
* Use new initialization code when dealing with [dcl.init.aggr]p12. This fixes ↵Anders Carlsson2010-01-243-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 Lattner2010-01-246-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 ifMon P Wang2010-01-249-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 Lattner2010-01-231-3/+3
| | | | llvm-svn: 94336
* Change all InitializedEntity pointers over to be references.Anders Carlsson2010-01-231-137/+81
| | | | llvm-svn: 94335
* Start passing InitializedEntity to CheckDesignatedInitializer.Anders Carlsson2010-01-231-9/+22
| | | | llvm-svn: 94334
* Preserve access for enum constants during template instantiation.John McCall2010-01-231-0/+1
| | | | llvm-svn: 94333
* More init work, adding more entity parameters.Anders Carlsson2010-01-231-10/+27
| | | | llvm-svn: 94332
* Speculatively revert r94322 to see if it fixes darwin selfhost buildbot.Nick Lewycky2010-01-232-82/+23
| | | | llvm-svn: 94331
* Temporary flip default for -Wunreachable-code so some bots can test itMike Stump2010-01-231-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 Carlsson2010-01-234-8/+23
| | | | llvm-svn: 94329
* Switch some array initialization over to the new init code.Anders Carlsson2010-01-232-7/+25
| | | | llvm-svn: 94327
* Insulate these from changes to the default for -Wunreachable-code.Mike Stump2010-01-2314-32/+32
| | | | llvm-svn: 94326
* Baby steps towards migrating the InitListChecker over to the new ↵Anders Carlsson2010-01-232-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 Carlsson2010-01-231-22/+36
| | | | | | Sema::PerformCopyInitialization overload. llvm-svn: 94324
* third bug from PR6119: the xor dupe extension allowsChris Lattner2010-01-232-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 anNick Lewycky2010-01-232-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 Lattner2010-01-232-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
OpenPOWER on IntegriCloud