summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Don't error when a block pointer is passed to a Fariborz Jahanian2010-03-092-0/+13
| | | | | | vararg functions/methods. Fixes radar 7725203. llvm-svn: 98070
* Add an Objective-C test for token annotationDouglas Gregor2010-03-091-0/+22
| | | | llvm-svn: 98056
* Replace copy loops with memcpy.Benjamin Kramer2010-03-091-4/+2
| | | | llvm-svn: 98055
* Start using DIFile. Corresponding llvm patch is r98020.Devang Patel2010-03-092-150/+129
| | | | llvm-svn: 98021
* Add test cases for r98003 and r98006.Ted Kremenek2010-03-082-0/+29
| | | | llvm-svn: 98008
* Add preprocessor guards to the definitions of size_t and wchar_t, and #undef ↵Ted Kremenek2010-03-081-0/+7
| | | | | | | | NULL before defining it. This addresses potential issues with system headers reported in <rdar://problem/7727159>. llvm-svn: 98006
* Place the definition of 'va_list' within a preprocessor guard. This matches ↵Ted Kremenek2010-03-081-0/+3
| | | | | | the behavior of GCC, and avoids potential conflicts with system headers (e.g., stdio.h). Fixes <rdar://problem/7727145>. llvm-svn: 98003
* Implement clang_isUnexposed(), a predicate function to simplify filtering outTed Kremenek2010-03-083-0/+19
| | | | | | unexposed AST elements. llvm-svn: 97985
* add a codegen hack to work around an AST bug, allowing us to compile theChris Lattner2010-03-082-2/+23
| | | | | | code in PR6537. This should be reverted when the ast bug is fixed. llvm-svn: 97981
* Allocate ASTRecordLayout objects using the allocator associated with ASTContext.Ted Kremenek2010-03-085-62/+110
| | | | | | | This allows them to be allocated using a BumpPtrAllocated in the common case. llvm-svn: 97978
* Avoid using DIDescriptor.isNull(). Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97976
* Revert r97727 at ddunbar's request; we want to solve this some other way.John McCall2010-03-081-12/+0
| | | | llvm-svn: 97971
* Rename -Wbad-literal to -Wliteral-range.John McCall2010-03-082-4/+4
| | | | llvm-svn: 97968
* Revert r97949.Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97964
* Don't enable static analysis support for C++ by default. Users areTed Kremenek2010-03-081-3/+10
| | | | | | | | accidentally using it without realizing that it is nowhere close to being generally usable and are reporting crashes that we already know about. llvm-svn: 97960
* Improve XML output for C++ classes, from Olaf Krzikalla!Douglas Gregor2010-03-082-13/+32
| | | | llvm-svn: 97954
* Mark variable as constKovarththanan Rajaratnam2010-03-081-2/+2
| | | | llvm-svn: 97951
* Avoid DIDescriptor.isNull() checks.Devang Patel2010-03-081-4/+4
| | | | llvm-svn: 97949
* Extend ObjCMessageExpr for class method sends with the source locationDouglas Gregor2010-03-0810-34/+75
| | | | | | of the class name. llvm-svn: 97943
* Keep track of type source information in the return type of anDouglas Gregor2010-03-088-15/+35
| | | | | | | | | | Objective-C method declaration, e.g., for - (Foo *)myMethod; we now have TypeSourceInfo for the Foo*. llvm-svn: 97942
* 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-084-19/+39
| | | | | | | | | 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-084-10/+17
| | | | | | | | | incomplete type to warnings; GCC (and EDG in GCC compatibility mode) permit such handles. Fixes PR6527. (For real this time) llvm-svn: 97927
* Revert r97925, it only contained the test updates not the actual fix.Chandler Carruth2010-03-082-3/+3
| | | | llvm-svn: 97926
* Downgrade errors when trying to catch a pointer or reference toDouglas Gregor2010-03-072-3/+3
| | | | | | | incomplete type to warnings; GCC (and EDG in GCC compatibility mode) permit such handles. Fixes PR6527. llvm-svn: 97925
* Robustify callers that rebuild typename type nodes again NULL returnDouglas Gregor2010-03-073-0/+23
| | | | | | types. Fixes PR6463. llvm-svn: 97924
* Perform overload resolution when static_cast'ing from aDouglas Gregor2010-03-074-5/+69
| | | | | | | 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-073-14/+44
| | | | | | | 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
* implement support for -Wno-deprecated, PR6534. WhileChris Lattner2010-03-076-46/+49
| | | | | | | I'm in there, change the altivec diagnostics to use 'double' instead of "double" for consistency. llvm-svn: 97919
* 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-073-15/+15
| | | | | | 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 movntdqa intrinsic for load hint.Eric Christopher2010-03-071-0/+1
| | | | llvm-svn: 97903
* Add in support for dword multiply and fp dot product intrinsics.Eric Christopher2010-03-071-0/+17
| | | | llvm-svn: 97902
* Add in dot product intrinsics for dpps and dppd.Eric Christopher2010-03-071-0/+2
| | | | llvm-svn: 97901
* Fix for PR6294: we should only delay recording nested dynamic classes if theyEli Friedman2010-03-072-1/+14
| | | | | | | 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-072-6/+4
| | | | | | | | | 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-072-1/+8
| | | | 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-074-1/+23
| | | | llvm-svn: 97893
* disable these dirs which rely on dynamic linking on mingw/cygwinChris Lattner2010-03-071-0/+7
| | | | llvm-svn: 97892
* 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
OpenPOWER on IntegriCloud