summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* Sema: Fix comment, apparently #pragma options align=power is just the same asDaniel Dunbar2010-05-281-6/+1
| | | | | | align=native, at least for the platforms we support. llvm-svn: 105000
* Fix personality function name when using SjLj exceptions.Daniel Dunbar2010-05-281-2/+5
| | | | llvm-svn: 104999
* Sema: Just ignore '#pragma options align=power' for now, this is no worse thanDaniel Dunbar2010-05-282-2/+7
| | | | | | | what we used to be doing, and makes sure that paired '#pragma options align=reset' won't fail. llvm-svn: 104998
* Update "users manual", PR2461 has been fixed.Daniel Dunbar2010-05-281-5/+0
| | | | llvm-svn: 104997
* Fix a miscompile of wchar pascal strings.Fariborz Jahanian2010-05-282-0/+33
| | | | | | (radar 8020384) llvm-svn: 104996
* A more minimal fix for PR6762.John McCall2010-05-284-55/+65
| | | | llvm-svn: 104991
* Roll back r104941.John McCall2010-05-2811-59/+6
| | | | llvm-svn: 104990
* Let the backend decide which scheduler and register allocator to use.Jakob Stoklund Olesen2010-05-281-7/+0
| | | | | | | Currently, the backend uses the same policy, but it will soon switch to -regalloc=fast for -O0. llvm-svn: 104984
* zero-cost exception API for NeXt runtime.Fariborz Jahanian2010-05-281-2/+14
| | | | | | | | rethrow inside @catch block must use objc_exception_rethrow API. Fixes radar 8037512. Test will be added to LLVM test suite. llvm-svn: 104964
* Driver: Spell -relax-all correctly when calling the cc1as tool.Daniel Dunbar2010-05-281-1/+1
| | | | llvm-svn: 104955
* Disable exception-spec compatibility checking under -fno-exceptions.John McCall2010-05-282-0/+41
| | | | | | Fixes PR7243. llvm-svn: 104942
* Add a new attribute on records, __attribute__((adl_invisible)), and defineJohn McCall2010-05-2811-6/+59
| | | | | | | | | | | | the x86-64 __va_list_tag with this attribute. The attribute causes the affected type to behave like a fundamental type when considered by ADL. (x86-64 is the only target we currently provide with a struct-based __builtin_va_list) Fixes PR6762. llvm-svn: 104941
* Don't just skip over the entire tag definition if the parser action didn'tJohn McCall2010-05-281-10/+8
| | | | | | | give us a decl back. Makes -cc1 -parse-noop handle a substantially larger amount of the C++ grammar. llvm-svn: 104940
* Test case for r104938.John McCall2010-05-281-0/+11
| | | | llvm-svn: 104939
* Optimize and complete associated-class-and-namespace collection fromJohn McCall2010-05-281-85/+115
| | | | | | a type. llvm-svn: 104938
* When we complain about a member being inaccessible due to a constraintDouglas Gregor2010-05-287-22/+33
| | | | | | | along an access path, add another note pointing at the member we actually found. llvm-svn: 104937
* Add CMake goop to get arm_neon.h generatedDouglas Gregor2010-05-281-3/+11
| | | | llvm-svn: 104934
* Convert arm_neon.h into arm_neon.td, from which arm_neon.h will be builtNate Begeman2010-05-283-538/+299
| | | | | | | Add Makefile support for building arm_neon.h from arm_neon.td Need to figure out an appropriate cmake rule for this. llvm-svn: 104928
* Frontend: Sprinkle in some C++ header paths for ARM/Darwin. Also, don't add x86Daniel Dunbar2010-05-281-4/+19
| | | | | | | | paths on non-x86. I really detest this file. llvm-svn: 104921
* This cast is no longer needed; the FIXME is fixed.Dan Gohman2010-05-281-2/+0
| | | | llvm-svn: 104919
* When filtering out previous declarations of friend functions, consider theJohn McCall2010-05-282-8/+32
| | | | | | lookup context, not the direct semantic context. Fixes PR7230. llvm-svn: 104917
* This cast is no longer required.Dan Gohman2010-05-281-4/+0
| | | | llvm-svn: 104916
* Don't put method bodies into code completions unless code patterns areDouglas Gregor2010-05-282-6/+6
| | | | | | turned on. llvm-svn: 104909
* Do not produce types as valid code completions when we're in anDouglas Gregor2010-05-284-11/+70
| | | | | | | expression context in C/Objective-C, or when we're in an @interface/@implementation/@protocol in Objective-C(++). llvm-svn: 104908
* Add several more predefines from modern versions of GCC.Dan Gohman2010-05-282-0/+187
| | | | llvm-svn: 104906
* Make -code-completion-patterns only cover multi-line codeDouglas Gregor2010-05-285-274/+284
| | | | | | | completions. Plus, tweak a few completion patterns to better reflect the language grammar. llvm-svn: 104905
* Update __builtin_setjmp codegen to match llvmCore changes in r104900.Jim Grosbach2010-05-271-0/+8
| | | | llvm-svn: 104902
* Fix typo.Nick Lewycky2010-05-271-1/+1
| | | | llvm-svn: 104898
* Implement a code-completion hook for the receiver of an Objective-CDouglas Gregor2010-05-275-10/+119
| | | | | | | message. This completion gives better results than just using the "expression" completion, which is effectively what happened before. llvm-svn: 104895
* Tweak the fix-it for a copy constructor declared to take its argumentDouglas Gregor2010-05-271-1/+4
| | | | | | by-value. We now only prepend a space if it is needed. llvm-svn: 104889
* Add a comment to mention the memory ownership situation.Dan Gohman2010-05-271-0/+3
| | | | llvm-svn: 104886
* When handling raw_ostream errors manually, use clear_error() so thatDan Gohman2010-05-271-0/+1
| | | | | | raw_ostream doesn't try to do its own error handling. llvm-svn: 104880
* When null-initializing bases with data member pointers, don't assert on ↵Anders Carlsson2010-05-272-2/+31
| | | | | | virtual bases. Just initialize them to null. llvm-svn: 104868
* Enable the implementation of __builtin_setjmp and __builtin_longjmp. Not allJohn McCall2010-05-272-15/+25
| | | | | | LLVM backends support these yet. llvm-svn: 104867
* Parse/Sema: Add support for '#pragma options align=packed', which, it should beDaniel Dunbar2010-05-274-0/+33
| | | | | | noted, is not the same as __attribute__((packed)). That would be ridiculous! llvm-svn: 104865
* Parse/Sema: Add support for '#pragma options align=native'.Daniel Dunbar2010-05-274-3/+18
| | | | llvm-svn: 104864
* Silence warning about "enumeral and non-enumeral type in conditionalBill Wendling2010-05-271-1/+1
| | | | | | expression". llvm-svn: 104863
* More work on the empty subobject map. This code is not yet used.Anders Carlsson2010-05-271-7/+225
| | | | llvm-svn: 104861
* MemoryBuffer::getSTDIN may return a null pointer if an error occurs.Dan Gohman2010-05-271-1/+1
| | | | llvm-svn: 104856
* Remove clang_isFromMainFile(). It doesn't work correctly with ↵Ted Kremenek2010-05-274-18/+0
| | | | | | | | CXDiagnostics, and we shouldn't have an API around that cannot be implemented correctly yet. llvm-svn: 104849
* Fix 80-column.Fariborz Jahanian2010-05-271-1/+2
| | | | llvm-svn: 104847
* Another empty class layout test.Anders Carlsson2010-05-271-4/+12
| | | | llvm-svn: 104839
* Add more empty class layout tests.Anders Carlsson2010-05-271-0/+26
| | | | llvm-svn: 104838
* Objective-c++ IR gen.Fariborz Jahanian2010-05-272-0/+13
| | | | | | | | Flag synthesized struct decl. as non-empty so CXX side of ir gen does not skip its Null initialization. Fixes radar 8027844 for objc++'s collection statement. llvm-svn: 104837
* When we've parsed a nested-name-specifier in a member accessDouglas Gregor2010-05-273-1/+13
| | | | | | | expression, "forget" about the object type; only the nested-name-specifier matters for name lookup purposes. Fixes PR7239. llvm-svn: 104834
* Fixed missing initialization of member. Should we enable unused argument ↵Abramo Bagnara2010-05-271-1/+1
| | | | | | warning?. llvm-svn: 104829
* Darwin/ARM seems to support mac68k align as well.Daniel Dunbar2010-05-271-1/+3
| | | | llvm-svn: 104828
* Driver: Update -O -> -O2 replacement for addition of -O0 option.Daniel Dunbar2010-05-271-1/+2
| | | | llvm-svn: 104823
* Require a complete type when performing the qualified lookup duringJohn McCall2010-05-272-0/+12
| | | | | | instantiation of a dependent elaborated type specifier. Fixes PR 7199. llvm-svn: 104822
* Update checker build.Ted Kremenek2010-05-271-1/+1
| | | | llvm-svn: 104817
OpenPOWER on IntegriCloud