Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch from NDEBUG to _DEBUG, since our Windows build is funny | Douglas Gregor | 2010-03-05 | 2 | -6/+6 |
| | | | | llvm-svn: 97835 | ||||
* | Only make __ptr64 and __w64 keywords when Microsoft extensions are enabled. | Douglas Gregor | 2010-03-05 | 1 | -2/+2 |
| | | | | llvm-svn: 97834 | ||||
* | A little hack to identify unwanted concurrency in CIndex | Douglas Gregor | 2010-03-05 | 3 | -2/+49 |
| | | | | llvm-svn: 97831 | ||||
* | Emit warning on indirect goto that potentially violates | Chris Lattner | 2010-03-05 | 2 | -3/+4 |
| | | | | | | scope instead of error, PR6517 llvm-svn: 97826 | ||||
* | address PR6502 by downgrading the scope checker's address | Chris Lattner | 2010-03-05 | 2 | -3/+3 |
| | | | | | | of label error to a warning controllable with a -W flag. llvm-svn: 97815 | ||||
* | Use clang::io::Emit8 | Kovarththanan Rajaratnam | 2010-03-05 | 1 | -3/+1 |
| | | | | llvm-svn: 97810 | ||||
* | Make sure the raw_string_ostream gets flushed so we don't accidentally ↵ | Benjamin Kramer | 2010-03-05 | 1 | -3/+3 |
| | | | | | | return an empty string. llvm-svn: 97809 | ||||
* | Remove reference to AnalysisContext in Environment. We already have ↵ | Zhongxing Xu | 2010-03-05 | 8 | -56/+34 |
| | | | | | | | | LocationContext information in ExplodedNode. llvm-svn: 97785 | ||||
* | Remove header file dependencies in block patch | Fariborz Jahanian | 2010-03-05 | 1 | -8/+4 |
| | | | | | | test case. llvm-svn: 97777 | ||||
* | add support for a 1<<29 bit in the block flags field to mark blocks using ↵ | Blaine Garst | 2010-03-05 | 3 | -3/+128 |
| | | | | | | alternate struct return ABI llvm-svn: 97775 | ||||
* | Don't produce an alias for a destructor if the target is weak. | Rafael Espindola | 2010-03-05 | 1 | -0/+16 |
| | | | | | | This fixes bootstrap on ELF systems :-) llvm-svn: 97773 | ||||
* | When we invalidate a declaration, make it public, so that it doesn't | Douglas Gregor | 2010-03-05 | 2 | -1/+11 |
| | | | | | | | trigger access control or one of the many assertions we have for valid access specifiers. llvm-svn: 97767 | ||||
* | Make rewritten source compiled with clang++. | Fariborz Jahanian | 2010-03-04 | 1 | -11/+2 |
| | | | | llvm-svn: 97762 | ||||
* | Make rewritten source compiled with clang++ for correctness. | Fariborz Jahanian | 2010-03-04 | 1 | -4/+2 |
| | | | | llvm-svn: 97761 | ||||
* | Change test to compile rewritten test with clang++. | Fariborz Jahanian | 2010-03-04 | 1 | -1/+2 |
| | | | | llvm-svn: 97756 | ||||
* | Patch to get around a rewriter bug rewriting storage class | Fariborz Jahanian | 2010-03-04 | 1 | -6/+15 |
| | | | | | | on a block API struct definition. llvm-svn: 97754 | ||||
* | really fix 6473 by handling weakref in constant expressions. | Rafael Espindola | 2010-03-04 | 2 | -1/+11 |
| | | | | llvm-svn: 97750 | ||||
* | add TCE target support, patch by Pekka J! | Chris Lattner | 2010-03-04 | 6 | -3/+136 |
| | | | | llvm-svn: 97746 | ||||
* | Use LLVM's new DESTDIR-less PROJ_* variables. | Erick Tryzelaar | 2010-03-04 | 2 | -12/+12 |
| | | | | llvm-svn: 97744 | ||||
* | c-index-test's printing of linkage was completely broken, as was the | Douglas Gregor | 2010-03-04 | 2 | -9/+12 |
| | | | | | | test of this functionality. The API worked great, though! :) llvm-svn: 97736 | ||||
* | Fixes a bug whereby static const block var has static | Fariborz Jahanian | 2010-03-04 | 2 | -0/+28 |
| | | | | | | moved incorrectly. (radar 7714443). llvm-svn: 97734 | ||||
* | Fix PR6473. | Rafael Espindola | 2010-03-04 | 6 | -6/+174 |
| | | | | | | | | | Clang's support for weakref is now better than llvm-gcc's :-) We don't introduce a new symbol and we correctly mark undefined references weak only if there is no definition or regular undefined references in the same file. llvm-svn: 97733 | ||||
* | Steal the TARGET lit condition from the LLVM test suite. | John McCall | 2010-03-04 | 1 | -0/+12 |
| | | | | llvm-svn: 97727 | ||||
* | The FIXME is fixed. | Zhongxing Xu | 2010-03-04 | 1 | -1/+0 |
| | | | | llvm-svn: 97725 | ||||
* | When profiling Environment, also profile with AnalysisContext*, bacause | Zhongxing Xu | 2010-03-04 | 6 | -0/+27 |
| | | | | | | | | | | we now may have identical states with different analysis context. Set the right AnalysisContext in state when entering and leaving a callee. With both of the above changes, we can pass the test case. llvm-svn: 97724 | ||||
* | Revert changes r97693, r97700, and r97718. | John McCall | 2010-03-04 | 15 | -132/+62 |
| | | | | | | Our testing framework can't deal with disabled targets yet. llvm-svn: 97719 | ||||
* | XFAIL these tests on win32, since the win32 buildbot apparently disables all | John McCall | 2010-03-04 | 8 | -0/+16 |
| | | | | | | targets except X86. llvm-svn: 97718 | ||||
* | First start on smmintrin.h, rounding and blending. | Eric Christopher | 2010-03-04 | 1 | -0/+130 |
| | | | | llvm-svn: 97717 | ||||
* | Add in disabled case as well. | Eric Christopher | 2010-03-04 | 1 | -0/+4 |
| | | | | llvm-svn: 97716 | ||||
* | Add in -msse4.1 and -msse4.2 options and continuing a rather | Eric Christopher | 2010-03-04 | 2 | -3/+13 |
| | | | | | | | hacky solution for translating. Expanded on comment explaining the hack a bit. llvm-svn: 97714 | ||||
* | Fix __builtin_ia32_roundss and __builtin_ia32_roundsd definitions. | Eric Christopher | 2010-03-04 | 2 | -4/+4 |
| | | | | | | Re-enable test. llvm-svn: 97707 | ||||
* | Refactor local class name mangling and make it | Fariborz Jahanian | 2010-03-04 | 4 | -15/+52 |
| | | | | | | ABI conforming. llvm-svn: 97702 | ||||
* | Implement __builtin_dwarf_sp_column(). | John McCall | 2010-03-04 | 2 | -0/+22 |
| | | | | llvm-svn: 97700 | ||||
* | fix a buildbot failure, this was passing for me because the | Chris Lattner | 2010-03-04 | 1 | -3/+7 |
| | | | | | | '%t' file was left around on my disk. doh. llvm-svn: 97699 | ||||
* | Create a TargetMachine whenever we create a CodeGenAction. The codegen of | John McCall | 2010-03-04 | 5 | -62/+94 |
| | | | | | | some builtins will rely on target knowledge. llvm-svn: 97693 | ||||
* | Reinstate r97674 with a fix for the assertion that was firing in <list> | Douglas Gregor | 2010-03-03 | 7 | -48/+203 |
| | | | | llvm-svn: 97686 | ||||
* | Remove the linux c includes part of my last patch. | Eric Christopher | 2010-03-03 | 1 | -3/+0 |
| | | | | llvm-svn: 97679 | ||||
* | Revert r97674; it's causing failures | Douglas Gregor | 2010-03-03 | 7 | -201/+46 |
| | | | | llvm-svn: 97677 | ||||
* | Implement disambiguation of base class members via a | Douglas Gregor | 2010-03-03 | 7 | -46/+201 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | nested-name-specifier. For example, this allows member access in diamond-shaped hierarchies like: struct Base { void Foo(); int Member; }; struct D1 : public Base {}; struct D2 : public Base {}; struct Derived : public D1, public D2 { } void Test(Derived d) { d.Member = 17; // error: ambiguous cast from Derived to Base d.D1::Member = 17; // error: okay, modify D1's Base's Member } Fixes PR5820 and <rdar://problem/7535045>. Also, eliminate some redundancy between Sema::PerformObjectMemberConversion() and Sema::PerformObjectArgumentInitialization() -- the latter now calls the former. llvm-svn: 97674 | ||||
* | Fix code gen bug generating code for | Fariborz Jahanian | 2010-03-03 | 2 | -1/+19 |
| | | | | | | ((id)cat)->isa. Fixes radar 7709015. llvm-svn: 97672 | ||||
* | merge asm-2.c into asm.c, remove asm-inout.c because it is | Chris Lattner | 2010-03-03 | 3 | -28/+11 |
| | | | | | | XFAIL and already tracked in bugzilla. llvm-svn: 97671 | ||||
* | fix PR6475, we were doing side-effecting stuff in an assert. | Chris Lattner | 2010-03-03 | 2 | -7/+16 |
| | | | | llvm-svn: 97669 | ||||
* | Add in more c++ header paths for later gccs under gentoo linux. | Eric Christopher | 2010-03-03 | 1 | -0/+14 |
| | | | | | | | | Add in c header path for various linuxes as well. Partial patch from Christian Adåker! llvm-svn: 97666 | ||||
* | Implements mangling of local class names to | Fariborz Jahanian | 2010-03-03 | 2 | -13/+88 |
| | | | | | | | | fix a code gen crash. This is WIP as not all ABI cases are covered (there is a FIXME to this effect). Fixes radar 7696748. llvm-svn: 97658 | ||||
* | add framework for ARM builtins, Patch by Edmund Grimley Evans! | Chris Lattner | 2010-03-03 | 6 | -6/+67 |
| | | | | llvm-svn: 97656 | ||||
* | Simplify code a bit and remove unneeded semicolons. | Benjamin Kramer | 2010-03-03 | 1 | -7/+4 |
| | | | | llvm-svn: 97654 | ||||
* | Sketch out an implementation for __builtin_dwarf_cfa. I have no idea | John McCall | 2010-03-03 | 1 | -0/+18 |
| | | | | | | why the front-end is calculating the argument to llvm.eh.dwarf.cfa(). llvm-svn: 97653 | ||||
* | Add '-test-print-linkage-source' option to c-index-test | Ted Kremenek | 2010-03-03 | 2 | -1/+55 |
| | | | | | | to test clang_getCursorLinkage() llvm-svn: 97648 | ||||
* | Export clang_getCursorLinkage(). | Ted Kremenek | 2010-03-03 | 1 | -0/+1 |
| | | | | llvm-svn: 97647 | ||||
* | Add clang_getCursorLinkage(), which returns the | Ted Kremenek | 2010-03-03 | 2 | -0/+45 |
| | | | | | | | underlying linkage for the entity referred to by a CXCursor. llvm-svn: 97646 |