summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Force triple, although probably the real fix is to tie __strong to -fobjc-gc.Daniel Dunbar2009-09-171-2/+1
| | | | llvm-svn: 82101
* Fix substituto.Daniel Dunbar2009-09-171-1/+1
| | | | llvm-svn: 82099
* Add CLANG_{SOURCE,BINARY}_DIR cmake variables.Daniel Dunbar2009-09-171-0/+3
| | | | llvm-svn: 82098
* Add a simple const mangling test.Anders Carlsson2009-09-161-1/+6
| | | | llvm-svn: 82096
* Removed useless stuff from the test.Fariborz Jahanian2009-09-161-12/+12
| | | | llvm-svn: 82095
* More test for objc gc's mixed write-barriers.Fariborz Jahanian2009-09-161-0/+52
| | | | llvm-svn: 82094
* When creating function types, remove any top-level CVR qualifications in the ↵Anders Carlsson2009-09-164-4/+29
| | | | | | function type argument types. llvm-svn: 82093
* Additional tests for write-bariers.Fariborz Jahanian2009-09-161-2/+9
| | | | llvm-svn: 82092
* Test for variety of write-barriers.Fariborz Jahanian2009-09-161-0/+114
| | | | llvm-svn: 82091
* patch for generating objc'2 objc_assign_ivar. WIP.Fariborz Jahanian2009-09-163-15/+56
| | | | llvm-svn: 82090
* Improved representation and support for friend class templates. Angst about ↵John McCall2009-09-1612-44/+185
| | | | | | same. llvm-svn: 82088
* CMake: Generate LIT site configuration file for Clang tests, which Daniel ↵Douglas Gregor2009-09-162-0/+10
| | | | | | will probably have to fix llvm-svn: 82086
* The CMake build system now derives the Clang version number from VER.Douglas Gregor2009-09-161-2/+11
| | | | llvm-svn: 82085
* Starting patch to generate more specific API for objc'sFariborz Jahanian2009-09-164-6/+124
| | | | | | | | GC. Currently, new API will be generated under clang-cc's -fobjc-newgc-api flag which will eventually become the default. WIP. llvm-svn: 82082
* Fix spelling.Mike Stump2009-09-161-1/+1
| | | | llvm-svn: 82078
* fit in 80 colsChris Lattner2009-09-161-1/+2
| | | | llvm-svn: 82073
* Improve handling of vector casts in C++.Anders Carlsson2009-09-163-0/+75
| | | | llvm-svn: 82072
* grammaroChris Lattner2009-09-161-1/+1
| | | | llvm-svn: 82070
* Teach Sema::FindInstantiatedDecl to find instantiated RecordDecls evenDouglas Gregor2009-09-164-24/+81
| | | | | | | | | | when we are not instantiating the corresponding "current instantiation." This happens, e.g., when we are instantiating a declaration reference that refers into the "current instantiation" but occurs in a default function argument. The libstdc++ vector default constructor now instantiates properly. llvm-svn: 82069
* Do not generate write-barrier in indirect assignment toFariborz Jahanian2009-09-162-2/+8
| | | | | | a weak object. llvm-svn: 82061
* Removed a superfluous check before settingFariborz Jahanian2009-09-161-2/+1
| | | | | | a flag (objc GC). llvm-svn: 82052
* x86-64 ABI: If a type is a C++ record with either a non-trivial destructor ↵Anders Carlsson2009-09-165-9/+56
| | | | | | or a non-trivial copy constructor, it should be passed in a pointer. Daniel, plz review. llvm-svn: 82050
* PR4991: Properly remove trailing newline from __TIMESTAMP__.Benjamin Kramer2009-09-161-3/+3
| | | | | | Replace strcpy with memcpy while at it. llvm-svn: 82043
* 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
OpenPOWER on IntegriCloud