summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Switch from NDEBUG to _DEBUG, since our Windows build is funnyDouglas Gregor2010-03-052-6/+6
| | | | llvm-svn: 97835
* Only make __ptr64 and __w64 keywords when Microsoft extensions are enabled.Douglas Gregor2010-03-051-2/+2
| | | | llvm-svn: 97834
* A little hack to identify unwanted concurrency in CIndexDouglas Gregor2010-03-053-2/+49
| | | | llvm-svn: 97831
* Emit warning on indirect goto that potentially violates Chris Lattner2010-03-052-3/+4
| | | | | | scope instead of error, PR6517 llvm-svn: 97826
* address PR6502 by downgrading the scope checker's addressChris Lattner2010-03-052-3/+3
| | | | | | of label error to a warning controllable with a -W flag. llvm-svn: 97815
* Use clang::io::Emit8Kovarththanan Rajaratnam2010-03-051-3/+1
| | | | llvm-svn: 97810
* Make sure the raw_string_ostream gets flushed so we don't accidentally ↵Benjamin Kramer2010-03-051-3/+3
| | | | | | return an empty string. llvm-svn: 97809
* Remove reference to AnalysisContext in Environment. We already have ↵Zhongxing Xu2010-03-058-56/+34
| | | | | | | | LocationContext information in ExplodedNode. llvm-svn: 97785
* Remove header file dependencies in block patchFariborz Jahanian2010-03-051-8/+4
| | | | | | test case. llvm-svn: 97777
* add support for a 1<<29 bit in the block flags field to mark blocks using ↵Blaine Garst2010-03-053-3/+128
| | | | | | alternate struct return ABI llvm-svn: 97775
* Don't produce an alias for a destructor if the target is weak.Rafael Espindola2010-03-051-0/+16
| | | | | | This fixes bootstrap on ELF systems :-) llvm-svn: 97773
* When we invalidate a declaration, make it public, so that it doesn'tDouglas Gregor2010-03-052-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 Jahanian2010-03-041-11/+2
| | | | llvm-svn: 97762
* Make rewritten source compiled with clang++ for correctness.Fariborz Jahanian2010-03-041-4/+2
| | | | llvm-svn: 97761
* Change test to compile rewritten test with clang++.Fariborz Jahanian2010-03-041-1/+2
| | | | llvm-svn: 97756
* Patch to get around a rewriter bug rewriting storage classFariborz Jahanian2010-03-041-6/+15
| | | | | | on a block API struct definition. llvm-svn: 97754
* really fix 6473 by handling weakref in constant expressions.Rafael Espindola2010-03-042-1/+11
| | | | llvm-svn: 97750
* add TCE target support, patch by Pekka J!Chris Lattner2010-03-046-3/+136
| | | | llvm-svn: 97746
* Use LLVM's new DESTDIR-less PROJ_* variables.Erick Tryzelaar2010-03-042-12/+12
| | | | llvm-svn: 97744
* c-index-test's printing of linkage was completely broken, as was theDouglas Gregor2010-03-042-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 Jahanian2010-03-042-0/+28
| | | | | | moved incorrectly. (radar 7714443). llvm-svn: 97734
* Fix PR6473.Rafael Espindola2010-03-046-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 McCall2010-03-041-0/+12
| | | | llvm-svn: 97727
* The FIXME is fixed.Zhongxing Xu2010-03-041-1/+0
| | | | llvm-svn: 97725
* When profiling Environment, also profile with AnalysisContext*, bacauseZhongxing Xu2010-03-046-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 McCall2010-03-0415-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 allJohn McCall2010-03-048-0/+16
| | | | | | targets except X86. llvm-svn: 97718
* First start on smmintrin.h, rounding and blending.Eric Christopher2010-03-041-0/+130
| | | | llvm-svn: 97717
* Add in disabled case as well.Eric Christopher2010-03-041-0/+4
| | | | llvm-svn: 97716
* Add in -msse4.1 and -msse4.2 options and continuing a ratherEric Christopher2010-03-042-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 Christopher2010-03-042-4/+4
| | | | | | Re-enable test. llvm-svn: 97707
* Refactor local class name mangling and make itFariborz Jahanian2010-03-044-15/+52
| | | | | | ABI conforming. llvm-svn: 97702
* Implement __builtin_dwarf_sp_column().John McCall2010-03-042-0/+22
| | | | llvm-svn: 97700
* fix a buildbot failure, this was passing for me because the Chris Lattner2010-03-041-3/+7
| | | | | | '%t' file was left around on my disk. doh. llvm-svn: 97699
* Create a TargetMachine whenever we create a CodeGenAction. The codegen ofJohn McCall2010-03-045-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 Gregor2010-03-037-48/+203
| | | | llvm-svn: 97686
* Remove the linux c includes part of my last patch.Eric Christopher2010-03-031-3/+0
| | | | llvm-svn: 97679
* Revert r97674; it's causing failuresDouglas Gregor2010-03-037-201/+46
| | | | llvm-svn: 97677
* Implement disambiguation of base class members via aDouglas Gregor2010-03-037-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 forFariborz Jahanian2010-03-032-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 Lattner2010-03-033-28/+11
| | | | | | XFAIL and already tracked in bugzilla. llvm-svn: 97671
* fix PR6475, we were doing side-effecting stuff in an assert.Chris Lattner2010-03-032-7/+16
| | | | llvm-svn: 97669
* Add in more c++ header paths for later gccs under gentoo linux.Eric Christopher2010-03-031-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 toFariborz Jahanian2010-03-032-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 Lattner2010-03-036-6/+67
| | | | llvm-svn: 97656
* Simplify code a bit and remove unneeded semicolons.Benjamin Kramer2010-03-031-7/+4
| | | | llvm-svn: 97654
* Sketch out an implementation for __builtin_dwarf_cfa. I have no ideaJohn McCall2010-03-031-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-testTed Kremenek2010-03-032-1/+55
| | | | | | to test clang_getCursorLinkage() llvm-svn: 97648
* Export clang_getCursorLinkage().Ted Kremenek2010-03-031-0/+1
| | | | llvm-svn: 97647
* Add clang_getCursorLinkage(), which returns theTed Kremenek2010-03-032-0/+45
| | | | | | | underlying linkage for the entity referred to by a CXCursor. llvm-svn: 97646
OpenPOWER on IntegriCloud