summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* When re-raising an exception after a cleanup, we need to call ↵John McCall2010-08-112-2/+2
| | | | | | | | | | | | | | | | | | _Unwind_Resume_or_Rethrow instead of _Unwind_Resume. With SJLJ exceptions, this is spelled "_Unwind_SjLj_Resume_or_Rethrow", not "_Unwind_SjLj_Resume", which has significantly different semantics. We should actually never be generating a call to _Unwind_SjLj_Resume directly; even if we were generating true cleanups (which we aren't because of the horrible hack), we should be calling __cxa_end_cleanup() on ARM. I haven't implemented this because there's little point as long as the HH is present. I believe this fixes <rdar://problem/8281377>. llvm-svn: 110851
* Work in progress for PR7864. Someone more familiar with ObjC++ needs to fillEli Friedman2010-08-111-3/+24
| | | | | | in the code after the "FIXME: Needs to be written". llvm-svn: 110849
* Remove rsqrtps_nr256 and sqrtps_nr256 builtins, at least until we need themBruno Cardoso Lopes2010-08-112-4/+0
| | | | llvm-svn: 110844
* Update documentation regarding use of 'class' inFariborz Jahanian2010-08-111-0/+25
| | | | | | property-dot syntax. llvm-svn: 110841
* Reintroduce the ASTConsumer/ASTUnit fix from r110610, it has nothing to do ↵Sebastian Redl2010-08-114-2/+13
| | | | | | with the breakage. llvm-svn: 110840
* Fix define inserting a comma :)Bruno Cardoso Lopes2010-08-111-1/+1
| | | | llvm-svn: 110839
* IRGen support for functions returning objc objectFariborz Jahanian2010-08-114-10/+21
| | | | | | types. Fixes PR7865. llvm-svn: 110832
* Add a (currently unused) "options" parameter toDouglas Gregor2010-08-115-5/+54
| | | | | | | | | | clang_reparseTranslationUnit(), along with a function to retrieve the default recommended reparsing options for a translation unit. Also, add the CXTranslationUnit_CacheCompletionResults flag, which is also currently unused. llvm-svn: 110811
* Remove wpa 'example', it isn't being maintained.Daniel Dunbar2010-08-115-199/+1
| | | | llvm-svn: 110809
* Random temporary string cleanup.Benjamin Kramer2010-08-117-12/+10
| | | | llvm-svn: 110807
* If name lookup finds different type declarations in different scopesDouglas Gregor2010-08-113-21/+55
| | | | | | | | that actually refer to the same underlying type, it is not an ambiguity; add uniquing support based on the canonical type of type declarations. Fixes <rdar://problem/8296180>. llvm-svn: 110806
* Fix a thinko in the creation of temporary files for the precompiled preambleDouglas Gregor2010-08-111-1/+2
| | | | llvm-svn: 110804
* Speculatively revert r110610 " Make ObjCInterfaceDecl redeclarable,Douglas Gregor2010-08-1120-274/+148
| | | | | | | | and create separate decl nodes for forward declarations and the definition," which appears to be causing significant Objective-C breakage. llvm-svn: 110803
* MemRegion can refer to ASTContext without external help.Zhongxing Xu2010-08-1118-85/+72
| | | | llvm-svn: 110784
* tests: Add a missing -Xclang.Daniel Dunbar2010-08-111-1/+1
| | | | llvm-svn: 110776
* ARM: Recognize single precision float register names.Daniel Dunbar2010-08-112-1/+25
| | | | | | | - We don't recognize double or NEON register names yet -- we don't have the infrastructure to generate the right clobbers for them. llvm-svn: 110775
* ARM: Swap which registers we consider real / aliases to match LLVM and llvm-gcc.Daniel Dunbar2010-08-112-6/+13
| | | | llvm-svn: 110774
* Improve our handling of user-defined conversions when computingDouglas Gregor2010-08-115-79/+150
| | | | | | | | | | | | | | | | | | | | | | implicit conversion sequences. In particular, model the "standard conversion" from a class to its own type (or a base type) directly as a standard conversion in the normal path *without* trying to determine if there is a valid copy constructor. This appears to match the intent of C++ [over.best.ics]p6 and more closely matches GCC and EDG. As part of this, model non-lvalue reference initialization via user-defined conversion in overloading the same way we handle it in InitializationSequence, separating the "general user-defined conversion" and "conversion to compatible class type" cases. The churn in the overload-call-copycon.cpp test case is because the test case was originally wrong; it assumed that we should do more checking for copy constructors that we actually should, which affected overload resolution. Fixes PR7055. Bootstrapped okay. llvm-svn: 110773
* Remove 256-bit cast built-ins and make the AVX intrinsic call llvm ↵Bruno Cardoso Lopes2010-08-113-18/+9
| | | | | | __builtin_shufflevector with the appropriate arguments llvm-svn: 110771
* Make this test a little less dependent on exact optimizer results.John McCall2010-08-111-6/+6
| | | | llvm-svn: 110770
* Remove 256-bit unpack built-ins and make the AVX intrinsic call llvm ↵Bruno Cardoso Lopes2010-08-113-12/+4
| | | | | | __builtin_shufflevector with the appropriate arguments llvm-svn: 110768
* Remove 256-bit shuffle built-ins and make the AVX intrinsic call llvm ↵Bruno Cardoso Lopes2010-08-113-15/+13
| | | | | | __builtin_shufflevector with the appropriate arguments llvm-svn: 110766
* Fix for pr7869, inline asm mult-alt constraints.John Thompson2010-08-112-5/+48
| | | | llvm-svn: 110764
* Fix a bug in @finally emission in both the fragile and non-fragile EH schemesJohn McCall2010-08-113-5/+77
| | | | | | | | | where we weren't accounting for the possibility that a @finally block might have internal cleanups and therefore might write to the cleanup destination slot. Fixes <rdar://problem/8293901>. llvm-svn: 110760
* Have GRCoreEngine record the blocks where analysis was aborted because we ↵Ted Kremenek2010-08-112-12/+22
| | | | | | visited a block too many times along a given path. This is to support the unreachable code analysis. llvm-svn: 110755
* Add test case for <rdar://problem/8288645>. While this is fixed in trunk, ↵Ted Kremenek2010-08-101-0/+8
| | | | | | | | we previously were getting the following assertion failure not too long ago: Assertion failed: (getContainingDC(DC) == CurContext && "The next DeclContext should be lexically contained in the current one.") llvm-svn: 110740
* Something's wrong with this test on other platforms. I'll probably need to ↵John Thompson2010-08-101-23/+0
| | | | | | simplify it later. For now revert. llvm-svn: 110738
* Fix test to not depend on objc.h header.Fariborz Jahanian2010-08-101-2/+0
| | | | llvm-svn: 110729
* SimplifyDevang Patel2010-08-101-2/+1
| | | | llvm-svn: 110716
* Test case for llvm r110712.Devang Patel2010-08-101-0/+8
| | | | llvm-svn: 110713
* tests: Avoid unnecessary redirection.Daniel Dunbar2010-08-101-2/+2
| | | | llvm-svn: 110709
* tests: Tests which include system headers must use the driver, not -cc1.Daniel Dunbar2010-08-101-3/+3
| | | | llvm-svn: 110708
* Slightly revised handling of mult-alt constraints, to avoid an assert, until ↵John Thompson2010-08-103-5/+48
| | | | | | we have the full fix. llvm-svn: 110706
* When initializing a static local, pop the guard-abort EH cleanup afterJohn McCall2010-08-102-1/+5
| | | | | | the variable is fully initialized. llvm-svn: 110704
* an objective-c++ test for -Wstrict-selector-matchFariborz Jahanian2010-08-101-0/+20
| | | | | | (radar 8127244). llvm-svn: 110702
* Do not use DIGlobalVariable to emit debugging information for enums.Devang Patel2010-08-102-0/+12
| | | | llvm-svn: 110697
* Fix a spurious warning when message sent to qualified-idFariborz Jahanian2010-08-102-2/+6
| | | | | | type receiver (pr7861). llvm-svn: 110696
* Turn on idempotent operations checker when using --analyze.Ted Kremenek2010-08-101-0/+1
| | | | llvm-svn: 110695
* Simplify code and add comments, in code that generate debug info for ↵Devang Patel2010-08-105-18/+15
| | | | | | constant integer globals, based on Chris's feedback. llvm-svn: 110694
* Driver/FreeBSD: Infer the right arch name in the presence of -m32,-m64, for theDaniel Dunbar2010-08-102-6/+32
| | | | | | | cases we care about. - This is eventually going to be unified outside the host specific code. llvm-svn: 110693
* Teach the libclang cursor visitor to walk into the type informationDouglas Gregor2010-08-102-1/+33
| | | | | | | | provided by __builtin_types_compatible_p and __builtin_va_arg expressions, now that Abramo has added proper type-source information to those expressions. llvm-svn: 110681
* Eliminate unnecessary uses of TemporaryBase in TreeTransform;Douglas Gregor2010-08-101-19/+10
| | | | | | | transforming TypeSourceInfos already gives us proper (and better) source-location information. llvm-svn: 110678
* Fixed redundant NNS loading.Abramo Bagnara2010-08-103-7/+10
| | | | llvm-svn: 110677
* Added TypeLocs to VAArgExpr node.Abramo Bagnara2010-08-107-18/+37
| | | | llvm-svn: 110666
* Added TypeLocs to TypesCompatibleExpr node.Abramo Bagnara2010-08-107-30/+50
| | | | llvm-svn: 110663
* Even if a constant's evaluated value is used, emit debug info for the ↵Devang Patel2010-08-106-1/+37
| | | | | | constant variable. llvm-svn: 110660
* Fix redefinition of typedefs of fixable variably-modified array types; shouldEli Friedman2010-08-102-9/+16
| | | | | | fix an issue compiling <windows.h>. llvm-svn: 110651
* Make replicate intrinsics use shufflevector instead of dup builtins, also ↵Bruno Cardoso Lopes2010-08-103-9/+3
| | | | | | remove the dup builtins llvm-svn: 110646
* Use i32 instead of i8 for AVX dot product intrinsicBruno Cardoso Lopes2010-08-101-1/+1
| | | | llvm-svn: 110644
* There is no need to pubish file static variable's name. Do not rely on this ↵Devang Patel2010-08-101-1/+1
| | | | | | code gen bug to check whether debug info is generated for such variables or not. llvm-svn: 110640
OpenPOWER on IntegriCloud