summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Minor documentation update about Microsoft extensions.Eli Friedman2009-06-081-3/+4
| | | | llvm-svn: 73052
* Misc minor fixes for clang for the Windows target.Eli Friedman2009-06-084-6/+19
| | | | llvm-svn: 73050
* Say a bit about various architectures in the users manual.Eli Friedman2009-06-081-8/+32
| | | | llvm-svn: 73044
* Delete method which is now trivial.Eli Friedman2009-06-083-23/+4
| | | | llvm-svn: 73043
* teach clang that -Wunused turns on all unused warnings, even though mostChris Lattner2009-06-081-3/+8
| | | | | | of these are not implemented yet. llvm-svn: 73042
* Don't allow defining a block with a non-prototype type. Remove a Eli Friedman2009-06-087-20/+10
| | | | | | | | | | hack which introduces some strange inconsistencies in compatibility for block pointers. Note that unlike an earlier revision proposed on cfe-commits, this patch still allows declaring block pointers without a prototype. llvm-svn: 73041
* Instantiation support for more Obj-C expressions, string literals, @selector ↵Anders Carlsson2009-06-074-11/+65
| | | | | | and @protocol expressions. llvm-svn: 73036
* Template instantiation support for Obj-C @encode expressions.Anders Carlsson2009-06-075-17/+53
| | | | llvm-svn: 73034
* Remove dead code: 'NewEntry' is not used.Zhongxing Xu2009-06-071-3/+0
| | | | llvm-svn: 73027
* Remove a few more vector builtins.Eli Friedman2009-06-074-32/+1
| | | | llvm-svn: 73022
* xmmintrin needs to include emmintrin, Darwin system headers seem to depend on itDaniel Dunbar2009-06-071-0/+2
| | | | | | defining m128[id], at least. llvm-svn: 73021
* Now that LLVM CodeGen can handle the generic variations a bit better, Eli Friedman2009-06-074-38/+5
| | | | | | get rid of a few more clang vector builtins. llvm-svn: 73015
* CMake: Install Clang's headers into the right place in the build tree, for ↵Douglas Gregor2009-06-071-7/+16
| | | | | | regression testing llvm-svn: 73014
* PR4339: make sure to properly extend/trunc the index of a vector element Eli Friedman2009-06-062-4/+12
| | | | | | | insert/extract; the relevant instructions are defined to take only an i32. llvm-svn: 73005
* Test changes to account for removed builtins.Eli Friedman2009-06-063-160/+0
| | | | llvm-svn: 73004
* Update checker build.Ted Kremenek2009-06-061-1/+1
| | | | llvm-svn: 73001
* Adds synthesize ivars to DeclContext.Fariborz Jahanian2009-06-062-11/+6
| | | | llvm-svn: 73000
* Add new ABIArgInfo kind: Extend. This allows target to implement its own ↵Anton Korobeynikov2009-06-063-29/+52
| | | | | | | | | argument zero/sign extension logic (consider, e.g. target has only 64 bit registers and thus i32's should be extended as well). llvm-svn: 72998
* Get rid of a bunch of dead builtins.Eli Friedman2009-06-062-324/+0
| | | | llvm-svn: 72996
* Replace more calls to builtins with generic code.Eli Friedman2009-06-062-8/+27
| | | | llvm-svn: 72995
* Fix obvious typo.Eli Friedman2009-06-061-3/+3
| | | | llvm-svn: 72994
* Make ParmVarDecl::getDefaultArg() more robust, it now asserts that the ↵Anders Carlsson2009-06-064-6/+18
| | | | | | argument is not unparsed. Add a new hasDefaultArg() and use it in places where getDefaultArg() was called when the argument was unparsed. llvm-svn: 72984
* Fix some casts to work without -flax-vector-conversions.Eli Friedman2009-06-062-6/+6
| | | | llvm-svn: 72981
* Misc fixes to MMX/SSE intrinsics: a few small bug fixes, and getting rid Eli Friedman2009-06-063-46/+67
| | | | | | of calls to builtins for constructs which can be expressed directly. llvm-svn: 72979
* Default builtin creation to off; we don't really want to be doing it Eli Friedman2009-06-061-2/+2
| | | | | | | without a relevant source location anyway. Fixes the issue with weird warnings when including objc/Object.h on OS X. llvm-svn: 72978
* Switch CMake testing over to use Daniels new(er) Python-based infrastructure.Douglas Gregor2009-06-054-87/+54
| | | | llvm-svn: 72977
* Avoid warnings.Mike Stump2009-06-051-0/+1
| | | | llvm-svn: 72976
* As an optimization, we maintain a cache of generatedMike Stump2009-06-054-15/+70
| | | | | | | | | | ___Block_byref_id_object_dispose and ___Block_byref_id_object_copy functions so that we can simply reuse instead of creating a new one. Additionally, add an assert to ensure no one yet tries to align a __block variable beyond the alignment of a pointer as the codegen is incomplete. llvm-svn: 72974
* Fix:Ted Kremenek2009-06-052-5/+34
| | | | | | <rdar://problem/6948053> False positive: object substitution during -init* methods warns about returning +0 when using -fobjc-gc-only llvm-svn: 72971
* Enhance attribute cf_returns_retained to also work (in the analyzer)Ted Kremenek2009-06-053-3/+60
| | | | | | | for non-Objctive-C pointer types. This implicitly documents that the return type is a CF object reference. llvm-svn: 72968
* weak_import should not make definitions have weak linkage.Daniel Dunbar2009-06-052-3/+13
| | | | | | - <rdar://problem/6948703> clang treats weak_import like weak llvm-svn: 72967
* Update cmake scriptAnton Korobeynikov2009-06-051-0/+1
| | | | llvm-svn: 72963
* Factor out TargetABIInfo stuff into separate file. No functionality change.Anton Korobeynikov2009-06-053-1382/+1398
| | | | llvm-svn: 72962
* Set function Attribute::NoImplicitFloat appropriately.Devang Patel2009-06-055-4/+14
| | | | llvm-svn: 72961
* Use of DeclContext for objc's ivars. No functionalityFariborz Jahanian2009-06-057-15/+47
| | | | | | change. More to follow. llvm-svn: 72951
* Clean up Clang regression testing in CMake, so that we get moreDouglas Gregor2009-06-052-23/+38
| | | | | | logical output when running all of the Clang regression tests at once. llvm-svn: 72947
* First cut at regression testing Clang with CMakeDouglas Gregor2009-06-054-0/+79
| | | | llvm-svn: 72945
* Improvements to CXXExprWithTemporaries in preparation for fixing a bug with ↵Anders Carlsson2009-06-054-15/+37
| | | | | | default arguments that have temporaries. llvm-svn: 72944
* PR3443: Add stpcpy builtin (plus a few other related builtins). Yes, Eli Friedman2009-06-051-0/+5
| | | | | | | we're still missing a mechanism to disable these in strict mode, but that's not a new issue. llvm-svn: 72936
* ABI handling: Fix nasty thinko where IRgen could generate an out-of-bounds readDaniel Dunbar2009-06-052-7/+14
| | | | | | | | | | when generating a coercion for ABI handling purposes. - This may only manifest itself when building at -O0, but the practical effect is that other arguments may get clobbered. - <rdar://problem/6930451> [irgen] ABI coercion clobbers other arguments llvm-svn: 72932
* Add driver support for -fsigned-char/-funsigned-char.Eli Friedman2009-06-052-0/+14
| | | | llvm-svn: 72930
* Add -fsigned-char option to clang-cc.Eli Friedman2009-06-051-0/+5
| | | | llvm-svn: 72929
* Move CharIsSigned from TargetInfo to LangOptions.Eli Friedman2009-06-0511-14/+22
| | | | llvm-svn: 72928
* Add a couple of FreeBSD-specific command-line options.Eli Friedman2009-06-051-0/+2
| | | | llvm-svn: 72927
* Address review comments for #pragma weak.Eli Friedman2009-06-053-5/+6
| | | | llvm-svn: 72926
* Add an XFAIL test to demonstrate references in Obj-C++, this currently crashes.Daniel Dunbar2009-06-051-0/+27
| | | | llvm-svn: 72923
* Make TemplateArgumentListBuilder take an ASTContext (because we're probably ↵Anders Carlsson2009-06-054-7/+22
| | | | | | going to need it later). Move push_back to the .cpp file. If the passed in template argument is a type, assert that it's canonical. llvm-svn: 72918
* Make the TemplateArgumentList take a TemplateArgumentListBuilder.Anders Carlsson2009-06-054-23/+25
| | | | llvm-svn: 72917
* Change the specialization decls to take a TemplateArgumentListBuilder.Anders Carlsson2009-06-053-36/+23
| | | | llvm-svn: 72916
* Add a helper class for building template argument lists.Anders Carlsson2009-06-053-40/+59
| | | | llvm-svn: 72915
OpenPOWER on IntegriCloud