Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Property declared in continuation class can only be used to | Fariborz Jahanian | 2009-11-02 | 2 | -12/+27 |
| | | | | | | | change a readonly property declared in the class (and its inherited protocols) to writable property. (Fixes radar 7350645). llvm-svn: 85836 | ||||
* | Added __has_include and __has_include_next. | John Thompson | 2009-11-02 | 2 | -3/+131 |
| | | | | llvm-svn: 85834 | ||||
* | Remove unused header. | Daniel Dunbar | 2009-11-02 | 1 | -1/+0 |
| | | | | llvm-svn: 85828 | ||||
* | clean up namespace. | Chris Lattner | 2009-11-02 | 1 | -6/+3 |
| | | | | llvm-svn: 85826 | ||||
* | Add note to FIXME about PR5371. | Edward O'Callaghan | 2009-11-02 | 1 | -0/+1 |
| | | | | llvm-svn: 85825 | ||||
* | Diagnose implementation of a property declared in a category | Fariborz Jahanian | 2009-11-02 | 1 | -0/+8 |
| | | | | | | in its class implementation instead of crashing. Fixes radar 7350345. llvm-svn: 85813 | ||||
* | When determining whether a reference to a static data member is an | Douglas Gregor | 2009-11-01 | 3 | -17/+41 |
| | | | | | | | | | integral constant expression, make sure to find where the initializer was provided---inside or outside the class definition---since that can affect whether we have an integral constant expression (and, we need to see the initializer itself). llvm-svn: 85741 | ||||
* | Within a template, qualified name lookup can refer to a non-dependent type | Douglas Gregor | 2009-11-01 | 1 | -0/+6 |
| | | | | | | | | | that is not known to be a base class at template definition time due to some dependent base class. Treat qualified name lookup that refers to a non-static data member or function as implicit class member access when the "this" type would be dependent. llvm-svn: 85718 | ||||
* | Fix -pthread on dragonfly. Patch by Sascha Wildner. | Mike Stump | 2009-10-31 | 1 | -1/+1 |
| | | | | llvm-svn: 85679 | ||||
* | Refine vcall/vbase ordering with vtable construction. | Mike Stump | 2009-10-31 | 1 | -47/+91 |
| | | | | llvm-svn: 85677 | ||||
* | Implement "incremental" template instantiation for non-type template | Douglas Gregor | 2009-10-31 | 3 | -58/+90 |
| | | | | | | | | | | | | | | | parameters and template type parameters, which occurs when substituting into the declarations of member templates inside class templates. This eliminates errors about our inability to "reduce non-type template parameter depth", fixing PR5311. Also fixes a bug when instantiating a template type parameter declaration in a member template, where we weren't properly reducing the template parameter's depth. LLVM's StringSwitch header now parses. llvm-svn: 85669 | ||||
* | Update CMake file. | Benjamin Kramer | 2009-10-31 | 1 | -0/+2 |
| | | | | llvm-svn: 85652 | ||||
* | Move CheckDivZero into its own files. | Zhongxing Xu | 2009-10-31 | 2 | -70/+72 |
| | | | | llvm-svn: 85651 | ||||
* | Move UndefDerefChecker into its own file. | Zhongxing Xu | 2009-10-31 | 2 | -50/+55 |
| | | | | llvm-svn: 85645 | ||||
* | fix 80-col. | Zhongxing Xu | 2009-10-31 | 1 | -1/+1 |
| | | | | llvm-svn: 85642 | ||||
* | Fix a crazy canonical-types bug because canonicalizing a | Douglas Gregor | 2009-10-30 | 1 | -1/+1 |
| | | | | | | | | | dependently-sized array type with a given expression might end up returning a non-canonical type; see through that non-canonical type to the underlying canonical type. Yes, I have a test case; no, I can't reduce it to the point where it's worth checking in :( llvm-svn: 85633 | ||||
* | When looking for a copy-assignment operator to determine the cv-qualifiers ↵ | Douglas Gregor | 2009-10-30 | 1 | -1/+4 |
| | | | | | | on its argument type, ignore assignment operator templates llvm-svn: 85629 | ||||
* | When a friend is declared in a dependent context, don't even try to | Douglas Gregor | 2009-10-30 | 2 | -3/+12 |
| | | | | | | match it up with a declaration in the outer scope. llvm-svn: 85628 | ||||
* | Improved fix for PR3844, which recovers better for class template | Douglas Gregor | 2009-10-30 | 2 | -6/+24 |
| | | | | | | partial specializations and explicit instantiations of non-templates. llvm-svn: 85620 | ||||
* | Tighten computation of ExprVal using ?: expression. No functionality change. | Ted Kremenek | 2009-10-30 | 1 | -5/+1 |
| | | | | llvm-svn: 85618 | ||||
* | Improve diagnostics when parsing something like | Douglas Gregor | 2009-10-30 | 1 | -1/+38 |
| | | | | | | | | template<> struct foo<int> { ... }; where "foo" does not refer to a template. Fixes PR3844. llvm-svn: 85616 | ||||
* | Instantiate class template friends better; fixes PR5332. | Douglas Gregor | 2009-10-30 | 1 | -1/+8 |
| | | | | llvm-svn: 85612 | ||||
* | Change the driver to do the Darwin triple mangling itself instead of forwarding | Daniel Dunbar | 2009-10-30 | 1 | -6/+55 |
| | | | | | | -mmacosx-version-min and -miphoneos-version-min to clang-cc. llvm-svn: 85600 | ||||
* | Make checkers run in deterministic order. | Ted Kremenek | 2009-10-30 | 1 | -9/+15 |
| | | | | llvm-svn: 85597 | ||||
* | Move NullDerefChecker.h instead a 'Checkers' subdirectory. | Ted Kremenek | 2009-10-30 | 3 | -3/+3 |
| | | | | llvm-svn: 85596 | ||||
* | Move all logic for the null dereference checker from ↵ | Ted Kremenek | 2009-10-30 | 3 | -46/+78 |
| | | | | | | GRExprEngineInternalChecks.cpp to a separate .cpp file. llvm-svn: 85595 | ||||
* | Include macros in code-completion results | Douglas Gregor | 2009-10-30 | 2 | -13/+88 |
| | | | | llvm-svn: 85594 | ||||
* | Re-arranged some internal functions for coming __has_include changes. | John Thompson | 2009-10-30 | 2 | -62/+70 |
| | | | | llvm-svn: 85589 | ||||
* | Add C++ include paths for Exherbo. Patch by Daniel Mierswa! | Benjamin Kramer | 2009-10-30 | 1 | -0/+11 |
| | | | | llvm-svn: 85588 | ||||
* | Fix PR5316: make assignment expressions can be visited as lvalue. Then we | Zhongxing Xu | 2009-10-30 | 1 | -25/+22 |
| | | | | | | | can get the correct base lvalue. Revert r85578. llvm-svn: 85579 | ||||
* | Handle loading of field values from LazyCompoundVals in ↵ | Ted Kremenek | 2009-10-30 | 1 | -6/+19 |
| | | | | | | | | GRExprEngine::VisitMemberExpr(). This fixes the crash reported in PR 5316. llvm-svn: 85578 | ||||
* | warn about returning the address of a label. | Chris Lattner | 2009-10-30 | 1 | -1/+6 |
| | | | | llvm-svn: 85576 | ||||
* | Get throws limping along, still a bunch of FIXMEs. Too bad we don't support ↵ | Anders Carlsson | 2009-10-30 | 1 | -1/+86 |
| | | | | | | catching anything yet :) llvm-svn: 85574 | ||||
* | Fix thinko, mangleCXXRtti should obviously take a QualType! | Anders Carlsson | 2009-10-30 | 3 | -8/+6 |
| | | | | llvm-svn: 85565 | ||||
* | Add CGException.cpp, to be used for exception related code generation. | Anders Carlsson | 2009-10-30 | 4 | -1/+29 |
| | | | | llvm-svn: 85560 | ||||
* | mangleCXXRtti obviously needs to take a type, what was I thinking... | Anders Carlsson | 2009-10-30 | 3 | -17/+19 |
| | | | | llvm-svn: 85555 | ||||
* | This patch computes composite type of two objective-c expressions | Fariborz Jahanian | 2009-10-30 | 1 | -2/+102 |
| | | | | | | | | | used in a conditional expression by finding the most-derived common super class of the two and qualifies the resulting type by the intersection of the protocl qualifier list of the two objective-c pointer types. ( this is continuation of radar 7334235). llvm-svn: 85554 | ||||
* | Add a CK_DerivedToBaseMemberPointer cast kind and use it in Sema (Still no ↵ | Anders Carlsson | 2009-10-30 | 2 | -3/+7 |
| | | | | | | codegen). llvm-svn: 85552 | ||||
* | Include pointee type information in the diagnostic for creating bad pointers or | John McCall | 2009-10-30 | 1 | -4/+4 |
| | | | | | | arrays. llvm-svn: 85550 | ||||
* | Report accurate source-location information when rebuilding types during | John McCall | 2009-10-30 | 1 | -80/+93 |
| | | | | | | template instantiation. llvm-svn: 85545 | ||||
* | Fix one more bug with __builtin_object_size. | Mike Stump | 2009-10-29 | 1 | -1/+1 |
| | | | | llvm-svn: 85538 | ||||
* | We may need to instantiate a class template specialization as part of a ↵ | Douglas Gregor | 2009-10-29 | 1 | -0/+1 |
| | | | | | | derived-to-base pointer case llvm-svn: 85532 | ||||
* | Slightly improve source-location information during template instantiation | Douglas Gregor | 2009-10-29 | 1 | -0/+1 |
| | | | | llvm-svn: 85529 | ||||
* | - Add/tweak some comments. | Steve Naroff | 2009-10-29 | 1 | -3/+3 |
| | | | | | | | | - change ObjCCategoryImplDecl::getCategoryClass() to getCategoryDecl(). No functionality change. llvm-svn: 85528 | ||||
* | Fix some issues Daniel pointed out. | Mike Stump | 2009-10-29 | 1 | -3/+4 |
| | | | | llvm-svn: 85526 | ||||
* | Properly instantiate usage of overloaded operator []. Fixes PR5345. | Sebastian Redl | 2009-10-29 | 4 | -98/+158 |
| | | | | llvm-svn: 85524 | ||||
* | A few TemplateArgumentLoc clean-ups. Try to remember the Expr for a ↵ | John McCall | 2009-10-29 | 3 | -24/+42 |
| | | | | | | | | declaration. Provide an API for getting the SourceRange of a TAL and use it judiciously. llvm-svn: 85520 | ||||
* | Yet more instantiation-location information. Fixes PR5336. | Douglas Gregor | 2009-10-29 | 1 | -0/+2 |
| | | | | llvm-svn: 85516 | ||||
* | Patch for destruction of array of objects on block exit. | Fariborz Jahanian | 2009-10-29 | 1 | -4/+13 |
| | | | | llvm-svn: 85512 | ||||
* | Make sure to call CompleteConstructorCall for bases and members that are ↵ | Anders Carlsson | 2009-10-29 | 3 | -29/+57 |
| | | | | | | initialized implicitly in constructors so that default arguments etc are set correctly. Fixes PR5283. llvm-svn: 85510 |