summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* XFAIL this on windows where <vector> contains surprises.Jakob Stoklund Olesen2011-03-131-0/+1
| | | | llvm-svn: 127559
* Turn labels into actual switch cases.Benjamin Kramer2011-03-131-6/+5
| | | | llvm-svn: 127558
* Add a missing include.Stephen Wilson2011-03-131-0/+1
| | | | | | This change is needed to fix the build on Linux. llvm-svn: 127557
* Build libclang as a static library too.Oscar Fuentes2011-03-121-28/+42
| | | | llvm-svn: 127556
* Build EnhancedDisassembly as a shared library too.Oscar Fuentes2011-03-121-5/+28
| | | | llvm-svn: 127555
* Build CompilerDriver library.Oscar Fuentes2011-03-122-4/+7
| | | | llvm-svn: 127554
* Build LTO as a static library too.Oscar Fuentes2011-03-121-4/+12
| | | | llvm-svn: 127553
* Place duplicate argument declaration in inFariborz Jahanian2011-03-127-15/+25
| | | | | | | method prototypes under the -Wduplicate-method-arg and turn it off by default. llvm-svn: 127552
* Build LTO as a static library too.Oscar Fuentes2011-03-122-5/+9
| | | | llvm-svn: 127549
* Teach ComputeMaskedBits about sub nsw.Benjamin Kramer2011-03-122-8/+39
| | | | llvm-svn: 127548
* Whe we build a shared library, add its list of used libraries to theOscar Fuentes2011-03-122-2/+7
| | | | | | | | link command. Fixed a pair of IF expressions too. llvm-svn: 127546
* Update link components for llvm-dis and LTO.Oscar Fuentes2011-03-122-2/+4
| | | | llvm-svn: 127545
* Revert "Disable delegating constructors for 2.9"Sebastian Redl2011-03-121-5/+1
| | | | | | It is only meant for the release branch. llvm-svn: 127544
* Disable delegating constructors for 2.9Sebastian Redl2011-03-121-1/+5
| | | | llvm-svn: 127543
* Revert "Disable inherited constructors for 2.9."Sebastian Redl2011-03-125-18/+6
| | | | | | It is only meant for the release branch. llvm-svn: 127542
* Disable inherited constructors for 2.9.Sebastian Redl2011-03-125-6/+18
| | | | llvm-svn: 127541
* Speculatively revert commit 127478 (jsjodin) in an attempt to fix theDuncan Sands2011-03-123-0/+21
| | | | | | | | | | llvm-gcc-i386-linux-selfhost and llvm-x86_64-linux-checks buildbots. The original log entry: Remove optimization emitting a reference insted of label difference, since it can create more relocations. Removed isBaseAddressKnownZero method, because it is no longer used. llvm-svn: 127540
* This patch removes some of useless instructions generated by bitfield access.Jin-Gu Kang2011-03-121-3/+13
| | | | llvm-svn: 127539
* Use CharUnits for argument passed to AppendPadding() from AppendBitField().Ken Dyck2011-03-121-5/+6
| | | | | | No change in functionality intended. llvm-svn: 127538
* Propagate the new exception information to FunctionProtoType.Sebastian Redl2011-03-1233-414/+997
| | | | | | | | Change the interface to expose the new information and deal with the enormous fallout. Introduce the new ExceptionSpecificationType value EST_DynamicNone to more easily deal with empty throw specifications. Update the tests for noexcept and fix the various bugs uncovered, such as lack of tentative parsing support. llvm-svn: 127537
* Forgotten part of previous commit.Abramo Bagnara2011-03-1211-43/+51
| | | | llvm-svn: 127536
* Fixed type and declaration source range in presence of typeQuals.Abramo Bagnara2011-03-121-1/+1
| | | | llvm-svn: 127535
* Renamed OffsetOfNode::getRange to getSourceRange for uniformity.Abramo Bagnara2011-03-124-6/+6
| | | | llvm-svn: 127534
* Tweak test to hopefully appease FreeBSD buildbot.Ted Kremenek2011-03-121-1/+1
| | | | llvm-svn: 127533
* Remove stray output file.Ted Kremenek2011-03-121-7075/+0
| | | | llvm-svn: 127532
* Re-enable the IdempotentOperations checker for --analyze, and put it and the ↵Ted Kremenek2011-03-1219-49/+7130
| | | | | | DeadStores checker into the "deadcode" group. llvm-svn: 127531
* Include snippets in the live stack interval.Jakob Stoklund Olesen2011-03-121-1/+3
| | | | llvm-svn: 127530
* Spill multiple registers at once.Jakob Stoklund Olesen2011-03-122-48/+210
| | | | | | | | | | | Live range splitting can create a number of small live ranges containing only a single real use. Spill these small live ranges along with the large range they are connected to with copies. This enables memory operand folding and maximizes the spill to fill distance. Work in progress with known bugs. llvm-svn: 127529
* Don't have side-effects (or rather non-trivial computation) in StringSwitch ↵Ted Kremenek2011-03-121-6/+9
| | | | | | "cases." llvm-svn: 127528
* Fixed the comparison operator for the enhancedSean Callanan2011-03-121-7/+2
| | | | | | disassembler's disassembler map. llvm-svn: 127527
* Add initial version of "IteratorsChecker", a checker to find misues uses of ↵Ted Kremenek2011-03-124-0/+689
| | | | | | | | | C++ iterators. This checker was created by Jim Goodnow II, and I migrated it to the new Checker interface (recent changes by Argiris). llvm-svn: 127525
* Fix comments, and force auto progagation in VisitAggExpr.Ted Kremenek2011-03-121-1/+4
| | | | llvm-svn: 127524
* static analyzer: Handle 'ExprWithCleanups' in ExprEngine by essentially ↵Ted Kremenek2011-03-121-1/+1
| | | | | | ignoring them. llvm-svn: 127523
* That's it, I am declaring this a failure of the C++03 STL.Jakob Stoklund Olesen2011-03-121-119/+15
| | | | | | | | | | | | | | There are too many compatibility problems with using mixed types in std::upper_bound, and I don't want to spend 110 lines of boilerplate setting up a call to a 10-line function. Binary search is not /that/ hard to implement correctly. I tried terminating the binary search with a linear search, but that actually made the algorithm slower against my expectation. Most live intervals have less than 4 segments. The early test against endIndex() does pay, and this version is 25% faster than plain std::upper_bound(). llvm-svn: 127522
* Fixes for some more expressions containing function templateids thatDouglas Gregor2011-03-126-58/+168
| | | | | | should be resolvable, from Faisal Vali! llvm-svn: 127521
* Saving files before committing is overrated.Eric Christopher2011-03-121-1/+1
| | | | | | Add a RUN line to this test. llvm-svn: 127520
* Add a test directory stop-hook to test the newly added "target stop-hook" ↵Johnny Chen2011-03-124-0/+163
| | | | | | | | | | | | | command. This uses pexpect module to spawn a 'lldb' program and uses pseudo-TTY to talk to the child application. The test cases test setting breakpoints, adding a stop-hook with line range, and verifies that when the inferior stops, the stop-hook will fire off when it is within range and will not fire off when it is out of range. llvm-svn: 127519
* Sometimes isPredicable lies to us and tells us we don't need the operands.Eric Christopher2011-03-122-6/+85
| | | | | | | | | Go ahead and add them on when we might want to use them and let later passes remove them. Fixes rdar://9118569 llvm-svn: 127518
* Remove no-longer-correct special case for disasm of ARM BL instructions.Jim Grosbach2011-03-121-5/+0
| | | | llvm-svn: 127517
* Add FIXME.Jim Grosbach2011-03-121-0/+3
| | | | llvm-svn: 127516
* Pseudo-ize the ARM Darwin *r9 call instruction definitions. They're the sameJim Grosbach2011-03-122-27/+33
| | | | | | | | actual instruction as the non-Darwin defs, but have different call-clobber semantics and so need separate patterns. They don't need to duplicate the encoding information, however. llvm-svn: 127515
* When we're determining whether to complain about a conversion from oneDouglas Gregor2011-03-122-1/+24
| | | | | | | | enumeration type to another in C, classify enumeration constants as if they had the type of their enclosing enumeration. Fixes <rdar://problem/9116337>. llvm-svn: 127514
* Change parameter to AppendPadding from bytes to CharUnits. No change inKen Dyck2011-03-111-11/+11
| | | | | | functionality intended. llvm-svn: 127513
* Don't ask if a depenendent CXXRecordDecl has any dependent basesDouglas Gregor2011-03-112-1/+15
| | | | | | | unless we already know that it has a definition. Fixes PR9449/<rdar://problem/9115785>. llvm-svn: 127512
* Add a FIXME.Jim Grosbach2011-03-111-0/+2
| | | | llvm-svn: 127511
* Pseudo-ize the ARM 'B' instruction.Jim Grosbach2011-03-113-10/+14
| | | | llvm-svn: 127510
* Remove dead code. These ARM instruction definitions no longer exist.Jim Grosbach2011-03-112-9/+1
| | | | llvm-svn: 127509
* Remove dead code. These ARM instruction definitions no longer exist.Jim Grosbach2011-03-111-9/+0
| | | | llvm-svn: 127508
* Implement a hack intended to allow Clang to parse libstdc++ 4.5'sDouglas Gregor2011-03-113-1/+31
| | | | | | | | | | | headers, which use C++0x generalized initializer lists. Per PR7069, it appears that the only use is as the return type of a function, so this commit enables this extension just in that narrow case. If it's enough for libstdc++ 4.5, or if it can be trivially extended to work with libstdc++ 4.5, we'll keep it. Otherwise, or if this breaks anything, we'll revert and wait for the real feature. llvm-svn: 127507
* Pseudo-ize VMOVDcc and VMOVScc.Jim Grosbach2011-03-113-9/+19
| | | | llvm-svn: 127506
OpenPOWER on IntegriCloud