summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* It's an error to use a function declared in a class definition as a default ↵Anders Carlsson2009-06-125-7/+34
| | | | | | argument before the function has been declared. llvm-svn: 73234
* Deducation and instantiation of block types.Anders Carlsson2009-06-122-3/+22
| | | | llvm-svn: 73232
* use getAsPointerType() method.Zhongxing Xu2009-06-121-1/+1
| | | | llvm-svn: 73218
* Don't assert when generating code with static_asserts.Anders Carlsson2009-06-111-1/+5
| | | | llvm-svn: 73208
* PR4371: Reduce the inlining threshold outside of -O3. This makes Eli Friedman2009-06-111-2/+6
| | | | | | the clang inlining threshold consistent with the threshold for llvm-gcc. llvm-svn: 73204
* Following gcc, hide the hack to include the SSE2 intrinsics from Eli Friedman2009-06-111-0/+3
| | | | | | xmmintrin.h in an ifdef. llvm-svn: 73200
* Add summary lookup for IOServiceGetMatchingService.Ted Kremenek2009-06-111-37/+48
| | | | | | Convert tabs to spaces. llvm-svn: 73198
* Refactor some function name -> summary lookup using a switch statement.Ted Kremenek2009-06-111-18/+25
| | | | llvm-svn: 73197
* Once we have deduced the template arguments of a class templateDouglas Gregor2009-06-114-82/+189
| | | | | | | | | | | | partial specialization, substitute those template arguments back into the template arguments of the class template partial specialization to see if the results still match the original template arguments. This code is more general than it needs to be, since we don't yet diagnose C++ [temp.class.spec]p9. However, it's likely to be needed for function templates. llvm-svn: 73196
* Add a null check that fixes the crash in PR4362, and make sure to ↵Anders Carlsson2009-06-111-3/+17
| | | | | | instantiate non-type template arguments. llvm-svn: 73193
* Bind the mistakenly generated nonloc::SymbolVal to struct correctly. See theZhongxing Xu2009-06-111-0/+3
| | | | | | comments for added test case for details. llvm-svn: 73189
* Use more robust getAsRecordType() method.Zhongxing Xu2009-06-111-1/+1
| | | | llvm-svn: 73186
* Make sure to calculate value-dependence correctly when deal with ICEs. Eli Friedman2009-06-111-1/+6
| | | | | | | | (Actually, this isn't precisely correct, but it doesn't make sense to query whether an expression that isn't an ICE is value-dependent anyway.) llvm-svn: 73179
* PR4364: fix parsing 'typename' in an expression.Eli Friedman2009-06-111-1/+7
| | | | llvm-svn: 73177
* Separate TemplateArgument instantiation logic into its own function. No ↵Douglas Gregor2009-06-112-30/+41
| | | | | | functionality change. llvm-svn: 73176
* Template argument deduction for member pointers.Douglas Gregor2009-06-103-1/+103
| | | | | | | Also, introduced some of the framework for performing instantiation as part of template argument deduction. llvm-svn: 73175
* Support complex properties, ivars and message expressions.Daniel Dunbar2009-06-102-6/+44
| | | | llvm-svn: 73158
* PR4350: Make sure we don't create invalid printf attributes. This isn't Eli Friedman2009-06-101-3/+5
| | | | | | | | visible anywhere normally because the printf format checks for this case, and we don't print out attribute values anywhere. Original patch by Roberto Bagnara. llvm-svn: 73157
* PR4353: Add support for \E as a character escape.Eli Friedman2009-06-101-1/+4
| | | | llvm-svn: 73153
* Handle member pointer types with dependent class types (e.g., intDouglas Gregor2009-06-093-46/+91
| | | | | | T::*) and implement template instantiation for member pointer types. llvm-svn: 73151
* Implement template argument deduction for class templateDouglas Gregor2009-06-091-0/+102
| | | | | | | | specialization types. As the example shows, we can now compute the length of a type-list using a template metaprogram and class template partial specialization. llvm-svn: 73136
* Add more parser support for Microsoft extensions.Eli Friedman2009-06-084-27/+57
| | | | llvm-svn: 73101
* Add stack alignment to x86_64 target data.Daniel Dunbar2009-06-081-1/+1
| | | | | | | - <rdar://problem/6948443> WARNING: Linking two modules of different data layouts! llvm-svn: 73093
* Forward -C and -CC to clang.Daniel Dunbar2009-06-081-1/+10
| | | | | | - <rdar://problem/6945384> Driver should pass down -C and -CC llvm-svn: 73087
* Minor tweaks to the Windows target.Eli Friedman2009-06-081-0/+4
| | | | llvm-svn: 73083
* PR4016: Forward -fno-show-source-location to clang.Daniel Dunbar2009-06-081-1/+4
| | | | llvm-svn: 73082
* PR4346: add "R" asm register constraint.Eli Friedman2009-06-081-0/+1
| | | | llvm-svn: 73081
* Address comments from Doug.Anders Carlsson2009-06-081-3/+10
| | | | llvm-svn: 73077
* Document the template argument deduction patterns that Anders' patch supportsDouglas Gregor2009-06-081-0/+3
| | | | llvm-svn: 73071
* Template argument deduction for function types.Anders Carlsson2009-06-081-0/+31
| | | | llvm-svn: 73070
* Add real parsing for __declspec. It doesn't make much of a difference Eli Friedman2009-06-083-14/+47
| | | | | | at the moment because we ignore the result. llvm-svn: 73056
* Misc minor fixes for clang for the Windows target.Eli Friedman2009-06-082-4/+12
| | | | llvm-svn: 73050
* Delete method which is now trivial.Eli Friedman2009-06-082-22/+4
| | | | llvm-svn: 73043
* Don't allow defining a block with a non-prototype type. Remove a Eli Friedman2009-06-083-13/+3
| | | | | | | | | | 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-072-7/+20
| | | | | | and @protocol expressions. llvm-svn: 73036
* Template instantiation support for Obj-C @encode expressions.Anders Carlsson2009-06-073-16/+39
| | | | 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-072-24/+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-072-30/+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-061-4/+4
| | | | | | | insert/extract; the relevant instructions are defined to take only an i32. llvm-svn: 73005
* 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-061-199/+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-063-4/+4
| | | | | | 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
OpenPOWER on IntegriCloud