summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused headers.Duncan Sands2010-03-082-2/+0
| | | | llvm-svn: 97941
* Remove redundant semicolonDouglas Gregor2010-03-081-1/+1
| | | | llvm-svn: 97930
* Make a note for the C++0x future, when we'll have to revisit the ↵Douglas Gregor2010-03-081-0/+2
| | | | | | jump-diagnostics handling for variables without initializers llvm-svn: 97929
* In C++98/03, an uninitialized variable that has POD class type will beDouglas Gregor2010-03-081-15/+29
| | | | | | | | | uninitialized. This seems not to be the case in C++0x, where we still call the (trivial) default constructor for a POD class (!). Previously, we had implemented only the C++0x rules; now we implement both. Fixes PR6536. llvm-svn: 97928
* Downgrade errors when trying to catch a pointer or reference toDouglas Gregor2010-03-081-3/+10
| | | | | | | | | incomplete type to warnings; GCC (and EDG in GCC compatibility mode) permit such handles. Fixes PR6527. (For real this time) llvm-svn: 97927
* Robustify callers that rebuild typename type nodes again NULL returnDouglas Gregor2010-03-072-0/+6
| | | | | | types. Fixes PR6463. llvm-svn: 97924
* Perform overload resolution when static_cast'ing from aDouglas Gregor2010-03-072-4/+44
| | | | | | | pointer-to-member-to-derived to a pointer-to-member-to-base. Fixes PR6072. llvm-svn: 97923
* Reference binding via user-defined conversion can compute a bindingDouglas Gregor2010-03-072-14/+24
| | | | | | | that is not reference-related (because it requires another implicit conversion to which we can find). Fixes PR6483. llvm-svn: 97922
* Undefine correct macroKovarththanan Rajaratnam2010-03-071-14/+14
| | | | llvm-svn: 97920
* Don't rely on implicit conversionKovarththanan Rajaratnam2010-03-071-2/+2
| | | | llvm-svn: 97916
* Rename to addPPCallbacks since we're effectively adding a callback and maybe ↵Kovarththanan Rajaratnam2010-03-072-5/+5
| | | | | | chaining it to an existing one llvm-svn: 97913
* Don't assert if PP already contains a valid PP callback. The PP can handle ↵Kovarththanan Rajaratnam2010-03-071-1/+0
| | | | | | multiple callbacks (using PPChainedCallbacks) llvm-svn: 97910
* Add sse4.1 packed min and max intrinsics.Eric Christopher2010-03-071-0/+49
| | | | llvm-svn: 97907
* Add load hint instruction intrinsic.Eric Christopher2010-03-071-0/+8
| | | | llvm-svn: 97904
* Add in support for dword multiply and fp dot product intrinsics.Eric Christopher2010-03-071-0/+17
| | | | llvm-svn: 97902
* Fix for PR6294: we should only delay recording nested dynamic classes if theyEli Friedman2010-03-071-1/+1
| | | | | | | are lexically nested. Othewise, we never end up recording semantically nested classes. llvm-svn: 97900
* Don't turn off mangling in implicitly extern "C" system headers. GCCDouglas Gregor2010-03-071-6/+0
| | | | | | | | | doesn't do this on any of the major platforms, and we don't really support any of the platforms that do (nor will we actually handle those headers well). Fixes PR6217; see PR6530 for details on what we would need to do to support these platforms. llvm-svn: 97899
* Fix 80 col violation.Tanya Lattner2010-03-071-1/+2
| | | | llvm-svn: 97898
* Don't produce debug info when given -g. Fixes PR6529.Rafael Espindola2010-03-071-1/+3
| | | | llvm-svn: 97897
* Fix indentation, use string directly instead of StringRef.Tanya Lattner2010-03-071-5/+4
| | | | llvm-svn: 97896
* Fix some weird patch issue.Tanya Lattner2010-03-071-1/+1
| | | | llvm-svn: 97894
* Implement missing-braces warning and add a test case.Tanya Lattner2010-03-071-0/+15
| | | | llvm-svn: 97893
* add mblaze target support, patch by Wesley Peck!Chris Lattner2010-03-061-0/+131
| | | | llvm-svn: 97890
* on both the mac and linux, /usr/local/include is treated Chris Lattner2010-03-061-1/+1
| | | | | | | as a "C++ Friendly" system header directory. This fixes PR6523. llvm-svn: 97885
* Lowercase for consistencyKovarththanan Rajaratnam2010-03-062-3/+3
| | | | llvm-svn: 97878
* Fix _MM_FROUND_NEARBYINT and move rounding intrinsics to macros.Eric Christopher2010-03-061-25/+5
| | | | llvm-svn: 97874
* Add a message to these asserts.Benjamin Kramer2010-03-061-3/+3
| | | | llvm-svn: 97873
* Use static method in GlobalValueRafael Espindola2010-03-061-11/+1
| | | | llvm-svn: 97872
* PR6515: Implement __builtin_signbit and friends.Eli Friedman2010-03-061-0/+17
| | | | | | | I'm reasonably sure my implementation is correct, but it would be nice if someone could double-check. llvm-svn: 97864
* Allow use of byref (__block attributed) arrays insideFariborz Jahanian2010-03-061-1/+1
| | | | | | the block. Fixes radar 7671883. llvm-svn: 97863
* Implement __builtin_dwarf_sp_column for i386 (Darwin and not), x86-64 (all),John McCall2010-03-065-0/+120
| | | | | | | and ARM. Implement __builtin_init_dwarf_reg_size_table for i386 (both) and x86-64 (all). llvm-svn: 97859
* When declaring a catch block in C++, make sure that the type beingDouglas Gregor2010-03-051-5/+26
| | | | | | caught can be copy-initialized and destructed. Fixes PR6518. llvm-svn: 97853
* Augment __has_feature to report that Clang supports adding attribute 'unused'Ted Kremenek2010-03-051-0/+1
| | | | | | to an Objective-C instance variable. llvm-svn: 97850
* Patch to build qualifier on objective-cFariborz Jahanian2010-03-052-4/+7
| | | | | | pointer types. Fixes radar 7626768. llvm-svn: 97847
* The Windows build is just too weird; there's no real cost to doing the ↵Douglas Gregor2010-03-051-2/+0
| | | | | | concurrency checks for ASTUnit in all builds llvm-svn: 97840
* Switch from NDEBUG to _DEBUG, since our Windows build is funnyDouglas Gregor2010-03-051-1/+1
| | | | llvm-svn: 97835
* A little hack to identify unwanted concurrency in CIndexDouglas Gregor2010-03-051-1/+4
| | | | llvm-svn: 97831
* 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-055-26/+21
| | | | | | | | LocationContext information in ExplodedNode. llvm-svn: 97785
* add support for a 1<<29 bit in the block flags field to mark blocks using ↵Blaine Garst2010-03-052-3/+18
| | | | | | 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-051-0/+10
| | | | | | | trigger access control or one of the many assertions we have for valid access specifiers. llvm-svn: 97767
* 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-041-1/+3
| | | | llvm-svn: 97750
* add TCE target support, patch by Pekka J!Chris Lattner2010-03-045-3/+134
| | | | llvm-svn: 97746
* Fixes a bug whereby static const block var has static Fariborz Jahanian2010-03-041-0/+17
| | | | | | moved incorrectly. (radar 7714443). llvm-svn: 97734
* Fix PR6473.Rafael Espindola2010-03-043-0/+66
| | | | | | | | | 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
* When profiling Environment, also profile with AnalysisContext*, bacauseZhongxing Xu2010-03-043-0/+8
| | | | | | | | | | 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-045-107/+62
| | | | | | Our testing framework can't deal with disabled targets yet. llvm-svn: 97719
OpenPOWER on IntegriCloud