| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Modify getMaxValue/getMinValue to take pointer values as well. | Ted Kremenek | 2009-02-16 | 1 | -6/+6 |
| | | | | | llvm-svn: 64682 | ||||
| * | introduce and use a new ExtVectorElementExpr::isArrow method, at Eli's ↵ | Chris Lattner | 2009-02-16 | 3 | -4/+15 |
| | | | | | | | suggestion llvm-svn: 64681 | ||||
| * | Use isa<...> instead of dyn_cast<...> where result is not needed. | Fariborz Jahanian | 2009-02-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 64680 | ||||
| * | diagnose uses of deprecated typenames and tags. | Chris Lattner | 2009-02-16 | 4 | -20/+35 |
| | | | | | | | We now pass all the deprecation tests in the objc.dg suite. llvm-svn: 64679 | ||||
| * | BasicValueFactory: Add utility methods 'Add1' and 'Sub1' to get a persistent ↵ | Ted Kremenek | 2009-02-16 | 1 | -0/+12 |
| | | | | | | | APSInt value that is 1 greater or 1 less than the provided value. llvm-svn: 64678 | ||||
| * | BasicValueFactory: Add getMaxValue and getMinValue variants that take QualTypes. | Ted Kremenek | 2009-02-16 | 1 | -1/+21 |
| | | | | | llvm-svn: 64677 | ||||
| * | Supply the header corresponding to a library builtin as a separate argument ↵ | Douglas Gregor | 2009-02-16 | 5 | -49/+40 |
| | | | | | | | to the LIBBUILTIN macro llvm-svn: 64676 | ||||
| * | Add getSymbolManager() and getBasicVals() accessors to GRStateRef. | Ted Kremenek | 2009-02-16 | 1 | -0/+3 |
| | | | | | llvm-svn: 64675 | ||||
| * | Fix IRgen of __builtin_memset. | Daniel Dunbar | 2009-02-16 | 2 | -2/+7 |
| | | | | | | | - Fix test case to not only have negative tests. llvm-svn: 64674 | ||||
| * | random cleanup | Chris Lattner | 2009-02-16 | 1 | -2/+1 |
| | | | | | llvm-svn: 64673 | ||||
| * | Fixes a bug in property type encoding. | Fariborz Jahanian | 2009-02-16 | 2 | -1/+15 |
| | | | | | llvm-svn: 64672 | ||||
| * | warn about interfaces that inherit from deprecated classes. | Chris Lattner | 2009-02-16 | 2 | -0/+12 |
| | | | | | llvm-svn: 64671 | ||||
| * | warn about categories that implement deprecated interfaces. | Chris Lattner | 2009-02-16 | 2 | -6/+15 |
| | | | | | llvm-svn: 64670 | ||||
| * | early exit on error. This code is creating an invalid decl on error. This is | Chris Lattner | 2009-02-16 | 1 | -24/+23 |
| | | | | | | | dubious, but at least mark it as an invalid decl. llvm-svn: 64668 | ||||
| * | enhance ExtVectorElementExpr to allow V->xxyy to work like (*V).xxyy | Chris Lattner | 2009-02-16 | 5 | -12/+19 |
| | | | | | llvm-svn: 64667 | ||||
| * | When merging from a function with a prototype to a function without a | Douglas Gregor | 2009-02-16 | 2 | -5/+28 |
| | | | | | | | prototype, synthesize ParmVarDecls for prototype-less FunctionDecl. llvm-svn: 64666 | ||||
| * | Test passes with -analyzer-range-contraints. | Ted Kremenek | 2009-02-16 | 1 | -0/+1 |
| | | | | | llvm-svn: 64663 | ||||
| * | Remove an unused variable (which caused a warning). | Fariborz Jahanian | 2009-02-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 64660 | ||||
| * | do not warn about uses of deprecated decls when in an out-of-line objc method | Chris Lattner | 2009-02-16 | 2 | -7/+26 |
| | | | | | | | whose declaration was declared as deprecated. llvm-svn: 64658 | ||||
| * | Remove FindIvarDeclaration. Use lookupInstanceVariable is is functionally | Fariborz Jahanian | 2009-02-16 | 4 | -19/+2 |
| | | | | | | | the same. llvm-svn: 64657 | ||||
| * | cleanup, add a getMethod() that takes a bool to indicate whether | Chris Lattner | 2009-02-16 | 1 | -11/+14 |
| | | | | | | | the caller wants class or instance methods. llvm-svn: 64654 | ||||
| * | When inside an Objective-C++ method, name lookup should look into the | Douglas Gregor | 2009-02-16 | 2 | -14/+35 |
| | | | | | | | | | | interface for ivars before assuming that this is an unresolved function name. Fixes <rdar://problem/6590445>. llvm-svn: 64653 | ||||
| * | add assertion | Chris Lattner | 2009-02-16 | 1 | -0/+1 |
| | | | | | llvm-svn: 64652 | ||||
| * | code cleanup | Chris Lattner | 2009-02-16 | 1 | -17/+17 |
| | | | | | llvm-svn: 64651 | ||||
| * | wrap long lines. | Chris Lattner | 2009-02-16 | 1 | -6/+8 |
| | | | | | llvm-svn: 64650 | ||||
| * | Test case for llvm-gcc rev. 64648. | Devang Patel | 2009-02-16 | 1 | -0/+5 |
| | | | | | llvm-svn: 64649 | ||||
| * | assert/ErrorUnsupported in unimplemented stub functions instead of | Daniel Dunbar | 2009-02-16 | 1 | -16/+25 |
| | | | | | | | miscompiling. llvm-svn: 64647 | ||||
| * | Add pretty-printing (for GraphViz) support for RangeConstraintManager. | Ted Kremenek | 2009-02-16 | 1 | -36/+8 |
| | | | | | llvm-svn: 64646 | ||||
| * | Add support for deprecating ObjC properties. Unlike GCC, we warn that the | Chris Lattner | 2009-02-16 | 2 | -6/+44 |
| | | | | | | | | property is deprecated, not the getter/setter if the attribute is on the property. llvm-svn: 64644 | ||||
| * | propagate attributes onto property decls. | Chris Lattner | 2009-02-16 | 1 | -5/+7 |
| | | | | | llvm-svn: 64643 | ||||
| * | define __OBJC2__ for objc's nonfragile abi. | Fariborz Jahanian | 2009-02-16 | 1 | -0/+2 |
| | | | | | llvm-svn: 64642 | ||||
| * | When a function with a prototype is redeclared without a prototype, | Douglas Gregor | 2009-02-16 | 3 | -1/+54 |
| | | | | | | | | merge the prototype into the redeclaration (and make a note in the declaration). Fixes PR3588. llvm-svn: 64641 | ||||
| * | ccc: @<filename> arguments are only treated specially if <filename> | Daniel Dunbar | 2009-02-16 | 1 | -2/+8 |
| | | | | | | | | exists, otherwise gcc just treats as an input. - PR3591 llvm-svn: 64640 | ||||
| * | Adopt a more principled approach to invalid declarations: | Douglas Gregor | 2009-02-16 | 10 | -92/+152 |
| | | | | | | | | | | | | | | | | | | | | | | | | - If a declaration is an invalid redeclaration of an existing name, complain about the invalid redeclaration then avoid adding it to the AST (we can still parse the definition or initializer, if any). - If the declaration is invalid but there is no prior declaration with that name, introduce the invalid declaration into the AST (for later error recovery). - If the declaration is an invalid redeclaration of a builtin that starts with __builtin_, we produce an error and drop the redeclaration. If it is an invalid redeclaration of a library builtin (e.g., malloc, printf), warn (don't error!) and drop the redeclaration. If a user attempts to define a builtin, produce an error and (if it's a library builtin like malloc) suggest -ffreestanding. This addresses <rdar://problem/6097585> and PR2892. However, PR3588 is still going to cause some problems when builtins are redeclared without a prototype. llvm-svn: 64639 | ||||
| * | RangeConstraintManager is not on by default. | Ted Kremenek | 2009-02-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 64638 | ||||
| * | add support for deprecated objc ivars. | Chris Lattner | 2009-02-16 | 3 | -1/+15 |
| | | | | | llvm-svn: 64637 | ||||
| * | specify a triple to use, otherwise we get errors on this test for | Chris Lattner | 2009-02-16 | 1 | -1/+1 |
| | | | | | | | hosts with a different size_t type. llvm-svn: 64636 | ||||
| * | update expected-warning line. | Chris Lattner | 2009-02-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 64635 | ||||
| * | Add support for deprecated members of RecordDecls (e.g. struct fields). | Chris Lattner | 2009-02-16 | 3 | -2/+11 |
| | | | | | llvm-svn: 64634 | ||||
| * | castToDeclContext/castFromDeclContext are only required to be included in ↵ | Argyrios Kyrtzidis | 2009-02-16 | 3 | -60/+6 |
| | | | | | | | | | the class of decls that directly derive from DeclContext. Their subclasses don't need them. llvm-svn: 64632 | ||||
| * | castToDeclContext/castFromDeclContext are not meant to be used directly; ↵ | Argyrios Kyrtzidis | 2009-02-16 | 1 | -18/+18 |
| | | | | | | | | | they are used indirectly by cast/dyn_cast. All Decl <-> DeclContext casting should be done through cast/dyn_cast. llvm-svn: 64631 | ||||
| * | DeclContext had its "casting machinery" inside the class definition so that ↵ | Argyrios Kyrtzidis | 2009-02-16 | 2 | -48/+47 |
| | | | | | | | | | if a new declaration context Decl appeared, the necessary changes would be in one place. Since, now, only DeclNodes.def needs to be modified, move things out-of-line and simplify the DeclContext class. llvm-svn: 64630 | ||||
| * | Make DeclContexts maintenance a bit easier. | Argyrios Kyrtzidis | 2009-02-16 | 3 | -46/+32 |
| | | | | | | | | | | -In DeclNodes.def, only mark as DeclContexts the top classes that directly derive from DeclContext. If the Decl has subclasses, it should be marked with DECL_CONTEXT_BASE. -Use DeclNodes.def to automate the DeclContext::classof and DeclContext::CastTo definitions. llvm-svn: 64629 | ||||
| * | Untabify. | Ben Laurie | 2009-02-16 | 1 | -2/+2 |
| | | | | | llvm-svn: 64628 | ||||
| * | Do not register 'RangeConstraintManager' as the default ConstraintManager. | Ted Kremenek | 2009-02-16 | 1 | -2/+0 |
| | | | | | llvm-svn: 64627 | ||||
| * | Fix typo caused by too much surfing, dudes... | Nick Lewycky | 2009-02-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 64626 | ||||
| * | Delete this long-commented-out code. The situation it seems to have | Dan Gohman | 2009-02-16 | 1 | -26/+0 |
| | | | | | | | | been written for is no longer relevant with the elimination of signed and unsigned types. llvm-svn: 64625 | ||||
| * | Rename IndVarsSimplify to IndVarSimplify, to be consistent with | Dan Gohman | 2009-02-16 | 45 | -0/+0 |
| | | | | | | | the name used in the code that these tests are for. llvm-svn: 64624 | ||||
| * | Change these tests to use regular loads instead of llvm.x86.sse2.loadu.dq. | Dan Gohman | 2009-02-16 | 4 | -25/+20 |
| | | | | | | | | | Enhance instcombine to use the preferred field of GetOrEnforceKnownAlignment in more cases, so that regular IR operations are optimized in the same way that the intrinsics currently are. llvm-svn: 64623 | ||||
| * | Don't assume that a left-shift of a value with one bit set will have | Dan Gohman | 2009-02-15 | 1 | -6/+23 |
| | | | | | | | | | one bit set, because the bit may be shifted off the end. Instead, just check for a constant 1 being shifted. This is still sufficient to handle all the cases in test/CodeGen/X86/bt.ll. This fixes PR3583. llvm-svn: 64622 | ||||

