summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix static analyzer regression when emitting undefined value warningsTed Kremenek2009-09-151-9/+16
| | | | | | | with binary operators. The result of a binary operator may be undefined even if its operands are well-defined. llvm-svn: 81874
* Perform overload resolution when selecting a pointer conversionFariborz Jahanian2009-09-154-34/+48
| | | | | | | function for delete of a class expression and issue good diagnostic when result is ambiguous. llvm-svn: 81870
* Slightly improved template argument deduction for use in partialDouglas Gregor2009-09-153-1/+31
| | | | | | | ordering, along with another test case for partial ordering of partial specializations. llvm-svn: 81869
* Add test case.Anders Carlsson2009-09-151-0/+7
| | | | llvm-svn: 81868
* Code generation of Conditional operators that are lvalues (but that aren't ↵Anders Carlsson2009-09-152-6/+39
| | | | | | bitfields). llvm-svn: 81867
* Implement partial ordering of class template partial specializations Douglas Gregor2009-09-1510-37/+261
| | | | | | (C++ [temp.class.order]). llvm-svn: 81866
* Update for inherited conversion function support.Fariborz Jahanian2009-09-151-3/+2
| | | | llvm-svn: 81865
* Use getTrueExpr/getFalseExpr as suggested by Doug.Anders Carlsson2009-09-151-2/+2
| | | | llvm-svn: 81863
* If a conversion operator exists in a base class, make sure to cast the ↵Anders Carlsson2009-09-152-1/+9
| | | | | | object to that base class. llvm-svn: 81852
* When performing an user defined conversion sequence, perform the initial ↵Anders Carlsson2009-09-152-10/+21
| | | | | | standard conversion sequence. This lets us remove a workaround in SemaCompleteConstructorCall. llvm-svn: 81847
* Revert for real.Anders Carlsson2009-09-151-5/+3
| | | | llvm-svn: 81844
* Whoops, didn't mean to commit this.Anders Carlsson2009-09-151-5/+1
| | | | llvm-svn: 81842
* Only reuse an already existing ImplicitCastExpr if the cast kinds are the same.Anders Carlsson2009-09-152-7/+17
| | | | llvm-svn: 81841
* Get rid of the CastInfo struct.Anders Carlsson2009-09-154-25/+14
| | | | llvm-svn: 81839
* Handle reinterpret_cast between integral types and pointer types.Anders Carlsson2009-09-156-11/+54
| | | | llvm-svn: 81837
* Codegen support for nullptr from C++0x.Anders Carlsson2009-09-154-1/+19
| | | | llvm-svn: 81835
* Per feedback from Eli, recognize in the transfer function logic forTed Kremenek2009-09-151-6/+12
| | | | | | | | | __builtin_offsetof in the static analyzer that __builtin_offsetof is not guaranteed to return an integer constant. We will need to shore this up later, but now at least we have correct support for when this *is* an integer constant. llvm-svn: 81830
* Fix typo in comment.Ted Kremenek2009-09-151-1/+1
| | | | llvm-svn: 81825
* Add static analyzer transfer function support for __builtin_offsetof.Ted Kremenek2009-09-153-3/+86
| | | | llvm-svn: 81820
* Issue a good diagnostics when attempt to selectFariborz Jahanian2009-09-154-7/+22
| | | | | | a type convesion function results in ambiguity. llvm-svn: 81812
* clang tracks multiple levels of macro expansionChris Lattner2009-09-141-6/+0
| | | | llvm-svn: 81811
* Diagnose taking the address of a bit-field inside a conditional operator.Anders Carlsson2009-09-142-1/+7
| | | | llvm-svn: 81808
* Implement partial ordering of function templates when calling aDouglas Gregor2009-09-142-2/+12
| | | | | | conversion function. llvm-svn: 81807
* Slightly improve the test for partial ordering of overloaded functionDouglas Gregor2009-09-141-3/+5
| | | | | | templates. llvm-svn: 81806
* Test function template partial ordering when resolving the address ofDouglas Gregor2009-09-142-1/+16
| | | | | | an overloaded function (template). llvm-svn: 81804
* Fix: <rdar://problem/5905851> do not report a leak when post-dominated by a callTed Kremenek2009-09-143-12/+121
| | | | | | to a noreturn or panic function llvm-svn: 81803
* Update testsAnders Carlsson2009-09-143-6/+6
| | | | llvm-svn: 81802
* Skeletal support for friend class templates.John McCall2009-09-147-18/+68
| | | | llvm-svn: 81801
* ARM/[A]APCS: Ignore empty records passed as arguments.Daniel Dunbar2009-09-142-0/+12
| | | | llvm-svn: 81798
* For consistency, use "bit-field" instead of "bitfield" in our diagnostics.Anders Carlsson2009-09-141-3/+3
| | | | llvm-svn: 81797
* Refactor MarkDeductedTemplateParameters intoDouglas Gregor2009-09-144-72/+155
| | | | | | | | MarkUsedTemplateParameters, which is able to mark template parameters used within non-deduced contexts as well as deduced contexts. Use this to finish the implementation of [temp.deduct.partial]p11. llvm-svn: 81794
* Used visible conversion function api to do overloadFariborz Jahanian2009-09-143-3/+45
| | | | | | | resolution of type conversion functions in base and current class. llvm-svn: 81784
* Implement FIXME: free up BugReportEquivClass objects when deleting BugTypes.Ted Kremenek2009-09-141-4/+10
| | | | llvm-svn: 81783
* Force triple.Daniel Dunbar2009-09-141-2/+2
| | | | llvm-svn: 81781
* -Wchar-subscripts should not warn for explicit signed char subscripts ↵Sam Weinig2009-09-142-5/+5
| | | | | | either. Another fix for PR4978. llvm-svn: 81780
* Tighten up checking of non-dependent arguments as part of templateDouglas Gregor2009-09-142-3/+23
| | | | | | | | | argument deduction. This fixes the new test case (since partial ordering does not have a "verify the results of deduction" step), and will allow failed template argument deductions to return more quickly for, e.g., matching class template partial specializations. llvm-svn: 81779
* Small fix to stop CGObjCGNU emitting symbols that break some versions of gas.David Chisnall2009-09-141-1/+1
| | | | llvm-svn: 81778
* Implement partial ordering of function template specializations Douglas Gregor2009-09-148-21/+396
| | | | | | (C++ [temp.func.order]). llvm-svn: 81777
* -Wchar-subscripts should not warn for unsigned char subscripts. Fixes PR4978.Sam Weinig2009-09-142-1/+36
| | | | llvm-svn: 81776
* Remove duplicate definition of char-subscripts DiagGroup.Sam Weinig2009-09-141-1/+0
| | | | llvm-svn: 81775
* Removed couple of FIXME comments from test case.Fariborz Jahanian2009-09-141-2/+2
| | | | llvm-svn: 81774
* Using the property dot-syntax to invoke a non-eixstingFariborz Jahanian2009-09-142-10/+32
| | | | | | | structure-valued setter should cause a user error instead of crash. llvm-svn: 81769
* Remove an unnecessary FunctionDecl parameter to the synthesizing functions.Anders Carlsson2009-09-143-42/+42
| | | | llvm-svn: 81759
* Fix subtle bug in generating LLVM function declarations for builtin functions.Daniel Dunbar2009-09-144-5/+18
| | | | | | | | | | The decl wasn't being passed down, which meant that function attributes were not being set correctly. This is particularly important for ARM, since it wants to override the calling convention. Instead we would emit the builtin with the wrong calling convention, and instcombine would come along and merrily shred all the calls to it. :) llvm-svn: 81756
* ARM/APCS: Don't treat structs w/ floating point types as "integer like".Daniel Dunbar2009-09-142-0/+18
| | | | llvm-svn: 81748
* Add support for -Wchar-subscripts. Fixes PR4801.Sam Weinig2009-09-145-1/+60
| | | | llvm-svn: 81747
* If a function call returns a reference, don't bind it to a temporary.Anders Carlsson2009-09-143-2/+29
| | | | llvm-svn: 81743
* Implement CodeGenFunction::EmitCXXExprWithTemporariesLValue.Anders Carlsson2009-09-143-1/+29
| | | | llvm-svn: 81738
* Some minor clang/ARM/AAPCS tweaks.Daniel Dunbar2009-09-143-60/+83
| | | | llvm-svn: 81737
* Add TargetInfo::getABI(), and base ARM APCS vs AAPCS choice on that.Daniel Dunbar2009-09-144-6/+16
| | | | llvm-svn: 81735
OpenPOWER on IntegriCloud