summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
* Property declared in continuation class can only be used toFariborz Jahanian2009-11-022-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 Thompson2009-11-022-3/+131
| | | | llvm-svn: 85834
* Remove unused header.Daniel Dunbar2009-11-021-1/+0
| | | | llvm-svn: 85828
* clean up namespace.Chris Lattner2009-11-021-6/+3
| | | | llvm-svn: 85826
* Add note to FIXME about PR5371.Edward O'Callaghan2009-11-021-0/+1
| | | | llvm-svn: 85825
* Diagnose implementation of a property declared in a categoryFariborz Jahanian2009-11-021-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 anDouglas Gregor2009-11-013-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 typeDouglas Gregor2009-11-011-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 Stump2009-10-311-1/+1
| | | | llvm-svn: 85679
* Refine vcall/vbase ordering with vtable construction.Mike Stump2009-10-311-47/+91
| | | | llvm-svn: 85677
* Implement "incremental" template instantiation for non-type templateDouglas Gregor2009-10-313-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 Kramer2009-10-311-0/+2
| | | | llvm-svn: 85652
* Move CheckDivZero into its own files.Zhongxing Xu2009-10-312-70/+72
| | | | llvm-svn: 85651
* Move UndefDerefChecker into its own file.Zhongxing Xu2009-10-312-50/+55
| | | | llvm-svn: 85645
* fix 80-col.Zhongxing Xu2009-10-311-1/+1
| | | | llvm-svn: 85642
* Fix a crazy canonical-types bug because canonicalizing aDouglas Gregor2009-10-301-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 Gregor2009-10-301-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 toDouglas Gregor2009-10-302-3/+12
| | | | | | match it up with a declaration in the outer scope. llvm-svn: 85628
* Improved fix for PR3844, which recovers better for class templateDouglas Gregor2009-10-302-6/+24
| | | | | | partial specializations and explicit instantiations of non-templates. llvm-svn: 85620
* Tighten computation of ExprVal using ?: expression. No functionality change.Ted Kremenek2009-10-301-5/+1
| | | | llvm-svn: 85618
* Improve diagnostics when parsing something likeDouglas Gregor2009-10-301-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 Gregor2009-10-301-1/+8
| | | | llvm-svn: 85612
* Change the driver to do the Darwin triple mangling itself instead of forwardingDaniel Dunbar2009-10-301-6/+55
| | | | | | -mmacosx-version-min and -miphoneos-version-min to clang-cc. llvm-svn: 85600
* Make checkers run in deterministic order.Ted Kremenek2009-10-301-9/+15
| | | | llvm-svn: 85597
* Move NullDerefChecker.h instead a 'Checkers' subdirectory.Ted Kremenek2009-10-303-3/+3
| | | | llvm-svn: 85596
* Move all logic for the null dereference checker from ↵Ted Kremenek2009-10-303-46/+78
| | | | | | GRExprEngineInternalChecks.cpp to a separate .cpp file. llvm-svn: 85595
* Include macros in code-completion resultsDouglas Gregor2009-10-302-13/+88
| | | | llvm-svn: 85594
* Re-arranged some internal functions for coming __has_include changes.John Thompson2009-10-302-62/+70
| | | | llvm-svn: 85589
* Add C++ include paths for Exherbo. Patch by Daniel Mierswa!Benjamin Kramer2009-10-301-0/+11
| | | | llvm-svn: 85588
* Fix PR5316: make assignment expressions can be visited as lvalue. Then we Zhongxing Xu2009-10-301-25/+22
| | | | | | | can get the correct base lvalue. Revert r85578. llvm-svn: 85579
* Handle loading of field values from LazyCompoundVals in ↵Ted Kremenek2009-10-301-6/+19
| | | | | | | | GRExprEngine::VisitMemberExpr(). This fixes the crash reported in PR 5316. llvm-svn: 85578
* warn about returning the address of a label.Chris Lattner2009-10-301-1/+6
| | | | llvm-svn: 85576
* Get throws limping along, still a bunch of FIXMEs. Too bad we don't support ↵Anders Carlsson2009-10-301-1/+86
| | | | | | catching anything yet :) llvm-svn: 85574
* Fix thinko, mangleCXXRtti should obviously take a QualType!Anders Carlsson2009-10-303-8/+6
| | | | llvm-svn: 85565
* Add CGException.cpp, to be used for exception related code generation.Anders Carlsson2009-10-304-1/+29
| | | | llvm-svn: 85560
* mangleCXXRtti obviously needs to take a type, what was I thinking...Anders Carlsson2009-10-303-17/+19
| | | | llvm-svn: 85555
* This patch computes composite type of two objective-c expressionsFariborz Jahanian2009-10-301-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 Carlsson2009-10-302-3/+7
| | | | | | codegen). llvm-svn: 85552
* Include pointee type information in the diagnostic for creating bad pointers orJohn McCall2009-10-301-4/+4
| | | | | | arrays. llvm-svn: 85550
* Report accurate source-location information when rebuilding types duringJohn McCall2009-10-301-80/+93
| | | | | | template instantiation. llvm-svn: 85545
* Fix one more bug with __builtin_object_size.Mike Stump2009-10-291-1/+1
| | | | llvm-svn: 85538
* We may need to instantiate a class template specialization as part of a ↵Douglas Gregor2009-10-291-0/+1
| | | | | | derived-to-base pointer case llvm-svn: 85532
* Slightly improve source-location information during template instantiationDouglas Gregor2009-10-291-0/+1
| | | | llvm-svn: 85529
* - Add/tweak some comments.Steve Naroff2009-10-291-3/+3
| | | | | | | | - change ObjCCategoryImplDecl::getCategoryClass() to getCategoryDecl(). No functionality change. llvm-svn: 85528
* Fix some issues Daniel pointed out.Mike Stump2009-10-291-3/+4
| | | | llvm-svn: 85526
* Properly instantiate usage of overloaded operator []. Fixes PR5345.Sebastian Redl2009-10-294-98/+158
| | | | llvm-svn: 85524
* A few TemplateArgumentLoc clean-ups. Try to remember the Expr for a ↵John McCall2009-10-293-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 Gregor2009-10-291-0/+2
| | | | llvm-svn: 85516
* Patch for destruction of array of objects on block exit.Fariborz Jahanian2009-10-291-4/+13
| | | | llvm-svn: 85512
* Make sure to call CompleteConstructorCall for bases and members that are ↵Anders Carlsson2009-10-293-29/+57
| | | | | | initialized implicitly in constructors so that default arguments etc are set correctly. Fixes PR5283. llvm-svn: 85510
OpenPOWER on IntegriCloud