summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Incremental improvement to logic determining whether we emit unwind tables orDaniel Dunbar2009-09-161-4/+11
| | | | | | | not. - PR4932. llvm-svn: 82021
* Have divide-by-zero checker not handled undefined denominators. This is ↵Ted Kremenek2009-09-163-30/+22
| | | | | | handled by the generic checking for undefined operands for BinaryOperators. llvm-svn: 82019
* Remove ImplicitBadDivides/ExplicitBadDivides node sets. This checking is ↵Ted Kremenek2009-09-162-42/+0
| | | | | | now down by a 'Checker' and not build into GRExprEngine. llvm-svn: 82017
* fix some ppc register name issues, patch by Richard Pennington!Chris Lattner2009-09-161-45/+78
| | | | llvm-svn: 82009
* A toy for Doug: Add some 'lit' tests which just run clang++ -fsyntax-only ↵Daniel Dunbar2009-09-163-0/+57
| | | | | | | | | | over all the files in a directory. - 'lit utils/C++Tests' to run, you may need to fix the stdc++ include path, and your mileage may vary. - A handful of the LLVM headers are XFAIL because they don't include the right headers. llvm-svn: 81990
* tests: Stash clang/clang-cc and LLVM src/obj paths for use elsewhere.Daniel Dunbar2009-09-161-6/+13
| | | | llvm-svn: 81989
* Chris doesn't want the FIXME.Mike Stump2009-09-161-1/+0
| | | | llvm-svn: 81988
* Add a FIXME, so the next person don't trip as hard on the landmines.Mike Stump2009-09-161-0/+1
| | | | llvm-svn: 81986
* Collapse more clang version numbers down into fewer places.Mike Stump2009-09-164-5/+10
| | | | llvm-svn: 81983
* Some people don't want to fix their broken code just yet, so turn offMike Stump2009-09-162-3/+4
| | | | | | hard error for falling off a noreturn function. llvm-svn: 81971
* Fix a typo in a FIXMEDouglas Gregor2009-09-161-1/+1
| | | | llvm-svn: 81960
* Back to 1.1 we go.Mike Stump2009-09-153-4/+4
| | | | llvm-svn: 81944
* In building list of visible conversion functions, useFariborz Jahanian2009-09-151-2/+2
| | | | | | result type of template convesion functions. llvm-svn: 81943
* Back out for now, as apparently there is some really broken code somewhere.Mike Stump2009-09-151-1/+1
| | | | llvm-svn: 81941
* When implicitly declaring operators new, new[], delete, and delete[],Douglas Gregor2009-09-157-25/+126
| | | | | | | | | | | | give them the appropriate exception specifications. This, unfortunately, requires us to maintain and/or implicitly generate handles to namespace "std" and the class "std::bad_alloc". However, every other approach I've come up with was more hackish, and this standard requirement itself is quite the hack. Fixes PR4829. llvm-svn: 81939
* Update Clang version for CMakeDouglas Gregor2009-09-151-2/+3
| | | | llvm-svn: 81938
* 1) don't do overload resolution in selecting conversionFariborz Jahanian2009-09-154-36/+30
| | | | | | | | to pointer function for delete expression. 2) Treat type conversion function and its 'const' version as identical in building the visible conversion list. llvm-svn: 81930
* Bump.Mike Stump2009-09-151-2/+14
| | | | llvm-svn: 81929
* Be sure to use the correct version instead of the wrong one.Mike Stump2009-09-151-1/+2
| | | | llvm-svn: 81925
* Be sure to use the correct version instead of inventing the wrong one.Mike Stump2009-09-151-1/+2
| | | | llvm-svn: 81924
* Add back the workaround since it lead to constructor conversion bugs :(Anders Carlsson2009-09-152-0/+22
| | | | llvm-svn: 81917
* Commit test case from PR4655, which tests the canonical-types fix in r81913Douglas Gregor2009-09-151-0/+5
| | | | llvm-svn: 81916
* Make sure we're comparing the canonical types when we determineDouglas Gregor2009-09-151-2/+3
| | | | | | | | | whether a constructor is a copy constructor. Sadly, I wasn't able to get down to a test case smaller than libstdc++'s <string>. llvm-svn: 81913
* - clang_getCursor(): Replace asserts with error codes (CXCursor_InvalidFile, ↵Steve Naroff2009-09-154-16/+45
| | | | | | | | | CXCursor_NoDeclFound). - Add predicate clang_isInvalid(). - Implement clang_getCursorFromDecl(). llvm-svn: 81908
* When printing an overload candidate that is a function template specialization,Douglas Gregor2009-09-153-0/+18
| | | | | | | | | | point at the template and print out its template arguments, e.g., ambiguous-ovl-print.cpp:5:8: note: candidate function template specialization [with T = int] void f(T*, long); llvm-svn: 81907
* Issue good diagnostics when initialization failes due toFariborz Jahanian2009-09-156-27/+56
| | | | | | ambiguity in type conversion function selection. llvm-svn: 81898
* Add an assertion and a test case, in a fruitless attempt to track down an ↵Douglas Gregor2009-09-152-0/+23
| | | | | | existing bug llvm-svn: 81885
* 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
OpenPOWER on IntegriCloud