summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ARM/APCS: Fix alignment of long double.Daniel Dunbar2010-01-272-1/+21
| | | | llvm-svn: 94685
* Don't bother with sprintf, just pass the Twine through.Benjamin Kramer2010-01-273-7/+4
| | | | llvm-svn: 94684
* Use the less expensive getName function instead of getNameStr.Benjamin Kramer2010-01-271-5/+4
| | | | llvm-svn: 94683
* Move more naming conventions logic out of the retain/release checker to ↵Ted Kremenek2010-01-273-92/+90
| | | | | | CocoaConventions.h. llvm-svn: 94682
* Change the return type of ASTContext::getDeclAlignInBytes() to CharUnits and,Ken Dyck2010-01-277-38/+49
| | | | | | | now that the "InBytes" part of the name is implied by the return type, rename it to getDeclAlign(). llvm-svn: 94681
* Use raw_ostreams in Preprocessor::ExpandBuiltinMacro. Still not nice but ↵Benjamin Kramer2010-01-271-19/+17
| | | | | | less fragile than the old code. llvm-svn: 94679
* Add missing call to Optional<...>.getValue() that was pointed out by Chandler.Ted Kremenek2010-01-271-1/+1
| | | | llvm-svn: 94678
* Use getTypeAlignInChars() for alignment in VisitSizeOfAlignOfExpr().Ken Dyck2010-01-271-1/+1
| | | | llvm-svn: 94677
* Unique ObjC strings (GNU Runtime); fix for PR6142. Note: Doing this in the ↵David Chisnall2010-01-271-2/+10
| | | | | | runtime-specific code is a bit ugly. It would be a good idea to hoist all of the string / protocol uniqueing code up into CGObjCRuntime or CodeGenModule and only handle emitting the original versions in the runtime-specific code. llvm-svn: 94676
* Quick fix to a test that is currently failing on every Linux build bot. No ideaChandler Carruth2010-01-271-1/+1
| | | | | | if this is the "correct" fix, but it seems a strict improvement. llvm-svn: 94675
* Silence a GCC warning about uninitialized variables. The first user of thisChandler Carruth2010-01-271-1/+1
| | | | | | showed up with a primitive type. llvm-svn: 94674
* Silence GCC warnings with asserts turned off. No functionality change.Chandler Carruth2010-01-272-3/+3
| | | | llvm-svn: 94673
* Make SMDiagnostic::Print a const method.Mikhail Glushenkov2010-01-272-2/+2
| | | | llvm-svn: 94672
* Trailing whitespace.Mikhail Glushenkov2010-01-272-38/+38
| | | | llvm-svn: 94671
* Revert commit 94666 (ddunbar) [Suppress clang warning about unused arguments].Duncan Sands2010-01-2717-17/+17
| | | | | | It causes g++ to complain: unrecognized option '-Qunused-arguments' llvm-svn: 94670
* fix a bug in the _MM_TRANSPOSE4_PS definition, patch by Brian Sumner fromChris Lattner2010-01-271-1/+1
| | | | | | PR6138 llvm-svn: 94669
* Fix libCIndex.so's lookup of the clang executable on CMake out-of-tree builds.Chandler Carruth2010-01-271-1/+1
| | | | llvm-svn: 94668
* add a new AsmPrinter::EmitFunctionEntryLabel virtual function,Chris Lattner2010-01-273-55/+34
| | | | | | | which allows targets to override function entry label emission. Use it to convert linux/ppc to use EmitFunctionHeader(). llvm-svn: 94667
* Suppress clang warning about unused arguments.Daniel Dunbar2010-01-2717-17/+17
| | | | llvm-svn: 94666
* Remove unnecessary ASTContext* argument from isRefType().Ted Kremenek2010-01-271-5/+5
| | | | llvm-svn: 94665
* Perform trivial tail call optimization for callees with "C" ABI. These are doneEvan Cheng2010-01-275-8/+45
| | | | | | | | | even when -tailcallopt is not specified and it does not require changing ABI. First case is the most trivial one. Perform tail call optimization when both the caller and callee do not return values and when the callee does not take any input arguments. llvm-svn: 94664
* Update CMake build.Ted Kremenek2010-01-271-0/+1
| | | | llvm-svn: 94663
* Start pulling out pieces of the monolithic retain/release checker intoTed Kremenek2010-01-274-125/+223
| | | | | | | | | reusable and modular API pieces. Start by pulling the logic for deriving the Cocoa naming convention into a separate API, header, and source file. llvm-svn: 94662
* Set -ccc-host-triple in these tests.Daniel Dunbar2010-01-271-6/+6
| | | | llvm-svn: 94661
* Fix a major oversight in the comparison of standard conversionDouglas Gregor2010-01-276-41/+94
| | | | | | | | | | | | | | sequences, where we would occasionally determine (incorrectly) that one standard conversion sequence was a proper subset of another when, in fact, they contained completely incomparable conversions. This change records the types in each step within a standard conversion sequence, so that we can check the specific comparison types to determine when one sequence is a proper subset of the other. Fixes this testcase (thanks, Anders!), which was distilled from PR6095 (also thanks to Anders). llvm-svn: 94660
* Implement access-check delays for out-of-line member definitionsJohn McCall2010-01-274-28/+162
| | | | | | using the same framework we use for deprecation warnings. llvm-svn: 94659
* Add support for 3dnow and 3dnowa, and define the target macros accordingly. ↵Anders Carlsson2010-01-271-1/+23
| | | | | | (This is needed in order to build Qt). llvm-svn: 94658
* It's not Explicit anymore.Anders Carlsson2010-01-271-1/+1
| | | | llvm-svn: 94657
* Structs and classes with non-trivial destructors or copy constructors should ↵Anders Carlsson2010-01-271-2/+10
| | | | | | be passed indirectly in the 32-bit ABI. Fixes PR6094. llvm-svn: 94656
* Update the xcode project for real and don't check in a failing test.Anders Carlsson2010-01-271-4/+6
| | | | llvm-svn: 94655
* Update xcode project.Anders Carlsson2010-01-271-0/+24
| | | | llvm-svn: 94654
* XFAIL this for now.Anders Carlsson2010-01-271-1/+1
| | | | llvm-svn: 94653
* Fix test/CodeGenCXX/default-destructor-synthesis.cpp not to rely on asm output.Anders Carlsson2010-01-271-47/+25
| | | | llvm-svn: 94652
* Fix attr.cpp by not checking the generated assembler output.Anders Carlsson2010-01-271-24/+5
| | | | llvm-svn: 94651
* merge two ifsChris Lattner2010-01-271-3/+1
| | | | llvm-svn: 94650
* some cleanups.Chris Lattner2010-01-271-14/+15
| | | | llvm-svn: 94649
* no need to check for nullChris Lattner2010-01-271-1/+1
| | | | llvm-svn: 94648
* Implement access control for overloaded functions. Suppress access controlJohn McCall2010-01-2711-105/+276
| | | | | | | diagnostics in "early" lookups, such as during typename checks and when building unresolved lookup expressions. llvm-svn: 94647
* Remove a dead target hook.Evan Cheng2010-01-271-13/+0
| | | | llvm-svn: 94646
* Clarify the documentation of ext_vector, and add a small example. HopefullyOwen Anderson2010-01-271-3/+19
| | | | | | | | this will alleviate some confusion about the existence of this feature. Comments/improvements welcome. llvm-svn: 94645
* Support -marm by treating it as an alias for -mno-thumb.Daniel Dunbar2010-01-271-0/+3
| | | | llvm-svn: 94644
* ppc/linux isn't ready for this and it was an accident that it was included.Chris Lattner2010-01-271-2/+0
| | | | | | This should fix a bunch of linux buildbot failures. llvm-svn: 94643
* Driver/Darwin: Eliminate invalid uses of DarwinVersion -- this fixes a number ofDaniel Dunbar2010-01-273-22/+29
| | | | | | defaults when targetting iPhoneOS (blocks, non-fragile ABI, stack protector). llvm-svn: 94642
* Driver/Darwin: Simplify target version checks.Daniel Dunbar2010-01-273-65/+32
| | | | llvm-svn: 94641
* Driver/Darwin: Fix a few link arguments when targetting different iPhoneOSDaniel Dunbar2010-01-273-7/+59
| | | | | | versions to match gcc (which is matching linker changes). llvm-svn: 94640
* Driver/Darwin: Switch clang -triple synthesis to use computed target ↵Daniel Dunbar2010-01-271-31/+17
| | | | | | information. llvm-svn: 94639
* Driver/Darwin: Eliminate confusing IsIPhoneOS parameter -- this was actuallyDaniel Dunbar2010-01-273-38/+19
| | | | | | just indicating whether the default target should be iPhoneOS. llvm-svn: 94638
* Driver/Darwin: Switch to using isTargetIPhoneOS where appropriate.Daniel Dunbar2010-01-272-7/+7
| | | | llvm-svn: 94637
* Driver/Darwin: Disallow -m{macosx,iphoneos}-version-min as -Xarch arguments.Daniel Dunbar2010-01-271-2/+2
| | | | llvm-svn: 94636
* Driver/Darwin: Track target platform more explicitly in tool chain, eventuallyDaniel Dunbar2010-01-273-13/+78
| | | | | | | this should just be part of the tool chain itself once we have eliminated argument translation. llvm-svn: 94635
OpenPOWER on IntegriCloud