Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update the xcode project for real and don't check in a failing test. | Anders Carlsson | 2010-01-27 | 1 | -4/+6 |
| | | | | llvm-svn: 94655 | ||||
* | Update xcode project. | Anders Carlsson | 2010-01-27 | 1 | -0/+24 |
| | | | | llvm-svn: 94654 | ||||
* | XFAIL this for now. | Anders Carlsson | 2010-01-27 | 1 | -1/+1 |
| | | | | llvm-svn: 94653 | ||||
* | Fix test/CodeGenCXX/default-destructor-synthesis.cpp not to rely on asm output. | Anders Carlsson | 2010-01-27 | 1 | -47/+25 |
| | | | | llvm-svn: 94652 | ||||
* | Fix attr.cpp by not checking the generated assembler output. | Anders Carlsson | 2010-01-27 | 1 | -24/+5 |
| | | | | llvm-svn: 94651 | ||||
* | Implement access control for overloaded functions. Suppress access control | John McCall | 2010-01-27 | 11 | -105/+276 |
| | | | | | | | diagnostics in "early" lookups, such as during typename checks and when building unresolved lookup expressions. llvm-svn: 94647 | ||||
* | Clarify the documentation of ext_vector, and add a small example. Hopefully | Owen Anderson | 2010-01-27 | 1 | -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 Dunbar | 2010-01-27 | 1 | -0/+3 |
| | | | | llvm-svn: 94644 | ||||
* | Driver/Darwin: Eliminate invalid uses of DarwinVersion -- this fixes a number of | Daniel Dunbar | 2010-01-27 | 3 | -22/+29 |
| | | | | | | defaults when targetting iPhoneOS (blocks, non-fragile ABI, stack protector). llvm-svn: 94642 | ||||
* | Driver/Darwin: Simplify target version checks. | Daniel Dunbar | 2010-01-27 | 3 | -65/+32 |
| | | | | llvm-svn: 94641 | ||||
* | Driver/Darwin: Fix a few link arguments when targetting different iPhoneOS | Daniel Dunbar | 2010-01-27 | 3 | -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 Dunbar | 2010-01-27 | 1 | -31/+17 |
| | | | | | | information. llvm-svn: 94639 | ||||
* | Driver/Darwin: Eliminate confusing IsIPhoneOS parameter -- this was actually | Daniel Dunbar | 2010-01-27 | 3 | -38/+19 |
| | | | | | | just indicating whether the default target should be iPhoneOS. llvm-svn: 94638 | ||||
* | Driver/Darwin: Switch to using isTargetIPhoneOS where appropriate. | Daniel Dunbar | 2010-01-27 | 2 | -7/+7 |
| | | | | llvm-svn: 94637 | ||||
* | Driver/Darwin: Disallow -m{macosx,iphoneos}-version-min as -Xarch arguments. | Daniel Dunbar | 2010-01-27 | 1 | -2/+2 |
| | | | | llvm-svn: 94636 | ||||
* | Driver/Darwin: Track target platform more explicitly in tool chain, eventually | Daniel Dunbar | 2010-01-27 | 3 | -13/+78 |
| | | | | | | | this should just be part of the tool chain itself once we have eliminated argument translation. llvm-svn: 94635 | ||||
* | Add const version of ObjCMethodDecl::getCanonicalDecl(). | Ted Kremenek | 2010-01-27 | 1 | -0/+3 |
| | | | | llvm-svn: 94633 | ||||
* | Teach RegionStore to handle initialization of incomplete arrays in ↵ | Ted Kremenek | 2010-01-26 | 3 | -12/+55 |
| | | | | | | structures using a compound value. Fixes <rdar://problem/7515938>. llvm-svn: 94622 | ||||
* | Move 'LocalCheckers.h' to the 'Checkers' subdirectory. | Ted Kremenek | 2010-01-26 | 13 | -12/+12 |
| | | | | llvm-svn: 94609 | ||||
* | Move 'include/Checkers/PathSensitive/Checkers' directory to 'include/Checkers'. | Ted Kremenek | 2010-01-26 | 3 | -2/+2 |
| | | | | llvm-svn: 94608 | ||||
* | Patch to add 'volatile' to first argument of all | Fariborz Jahanian | 2010-01-26 | 2 | -10/+14 |
| | | | | | | | | sync compare_and_swap to match them with gcc. It also fixes a few incorrect argument defitions. (fixes radar 7540291). llvm-svn: 94607 | ||||
* | Refine the non-virtual this adjustments for thunks by using the offset | Mike Stump | 2010-01-26 | 1 | -0/+6 |
| | | | | | | to the declaring class from the nearest virtual base class. WIP. llvm-svn: 94606 | ||||
* | Bring some semblance of order into Decl.h and Decl.cpp. While at it, fix ↵ | Sebastian Redl | 2010-01-26 | 2 | -342/+352 |
| | | | | | | some typo comments and remove an unused and unimplemented function prototype. No functionality change. llvm-svn: 94599 | ||||
* | Refine the non-virtual this adjustments for thunks by using the offset | Mike Stump | 2010-01-26 | 2 | -9/+26 |
| | | | | | | | | to the declaring class from the nearest virtual base class. WIP. This fixes 40% of all the problems remaining in one of my testcases. llvm-svn: 94592 | ||||
* | Added assert to the rewrite. | Fariborz Jahanian | 2010-01-26 | 1 | -0/+1 |
| | | | | llvm-svn: 94584 | ||||
* | Convert one last size variable to CharUnits (follow-on to 94577). | Ken Dyck | 2010-01-26 | 1 | -2/+3 |
| | | | | llvm-svn: 94579 | ||||
* | Use CharUnits for sizes, offsets, alignments, and padding amounts for values | Ken Dyck | 2010-01-26 | 1 | -35/+39 |
| | | | | | | that are in character units. llvm-svn: 94577 | ||||
* | Fix typo in comment | Douglas Gregor | 2010-01-26 | 1 | -1/+1 |
| | | | | llvm-svn: 94576 | ||||
* | Implement 'clang_getInclusions()' in CIndex. This API allows clients to ↵ | Ted Kremenek | 2010-01-26 | 9 | -1/+151 |
| | | | | | | walk the set of files included in a translation unit via the C API. llvm-svn: 94575 | ||||
* | Eliminate clang_getInstantiationLocationOffset(), and instead add an | Douglas Gregor | 2010-01-26 | 4 | -71/+33 |
| | | | | | | offset parameter to clang_getInstantiationLocation(). llvm-svn: 94573 | ||||
* | Use CharUnits for alignments in character units. | Ken Dyck | 2010-01-26 | 3 | -14/+17 |
| | | | | llvm-svn: 94571 | ||||
* | Fix two redefinitions in test cases that weren't diagnosed yet, but will be ↵ | Sebastian Redl | 2010-01-26 | 2 | -2/+2 |
| | | | | | | soon. llvm-svn: 94565 | ||||
* | Use CharUnits for alignment of UTF16 string in GetAddrOfConstantCFString(). | Ken Dyck | 2010-01-26 | 1 | -2/+2 |
| | | | | llvm-svn: 94564 | ||||
* | Use CharUnits for alignment in EmitNullInitializationLValue(). | Ken Dyck | 2010-01-26 | 1 | -2/+2 |
| | | | | llvm-svn: 94563 | ||||
* | Implement clang_annotateTokens(), which associates cursors with each | Douglas Gregor | 2010-01-26 | 4 | -21/+110 |
| | | | | | | | of the tokens within a raw token stream. This does not even attempt to handle macros yet. llvm-svn: 94561 | ||||
* | Refix rewriting of an ivar access when it is | Fariborz Jahanian | 2010-01-26 | 2 | -15/+2 |
| | | | | | | type-cast to its sub-class (radar 7575882). llvm-svn: 94559 | ||||
* | Add 'PostVisitTU' callback hook to 'perform_test_load()' to allow a special ↵ | Ted Kremenek | 2010-01-26 | 1 | -9/+21 |
| | | | | | | callback after the translation unit has been loaded (and streamed). llvm-svn: 94557 | ||||
* | Allow the 'visitor' argument to 'perform_test_load()' to be NULL. The | Ted Kremenek | 2010-01-26 | 1 | -18/+22 |
| | | | | | | | utility of this change will be made clearer in a subsequent patch when perform_test_load()' does more than stream the AST. llvm-svn: 94556 | ||||
* | Use the right definition when emitting a global variable. Fixes PR5564. | Anders Carlsson | 2010-01-26 | 3 | -3/+20 |
| | | | | llvm-svn: 94555 | ||||
* | Change getUnique to return a GlobalDecl. Fixes PR6147. | Anders Carlsson | 2010-01-26 | 1 | -8/+20 |
| | | | | llvm-svn: 94554 | ||||
* | Correct cut-and-paste error in doxygen comment for newly introduced | Ken Dyck | 2010-01-26 | 2 | -2/+2 |
| | | | | | | getTypeAlignInChars(). llvm-svn: 94553 | ||||
* | Add getTypeAlignInChars() for use in code that works in alignments in character | Ken Dyck | 2010-01-26 | 2 | -0/+14 |
| | | | | | | units. llvm-svn: 94552 | ||||
* | Introduce a CIndex API for lexing the raw tokens within a given source | Douglas Gregor | 2010-01-26 | 8 | -32/+540 |
| | | | | | | range. The token-annotation function does nothing, yet. llvm-svn: 94551 | ||||
* | Replace inheritance of RegionRawOffset from std::pair with two private member | Ken Dyck | 2010-01-26 | 1 | -4/+7 |
| | | | | | | variables to improve readability and encapsulation. llvm-svn: 94550 | ||||
* | Introduce CodeGenModule::GetTargetTypeStoreSize() to calculate the store size | Ken Dyck | 2010-01-26 | 4 | -7/+16 |
| | | | | | | of LLVM types in character units. llvm-svn: 94542 | ||||
* | Avoid some unnecessary copying of unresolved lookup results. | John McCall | 2010-01-26 | 2 | -16/+18 |
| | | | | llvm-svn: 94531 | ||||
* | Handle redeclarations found by ADL deterministically and reasonably. | John McCall | 2010-01-26 | 5 | -16/+105 |
| | | | | | | | | | This solution relies on an O(n) scan of redeclarations, which means it might scale poorly in crazy cases with tons of redeclarations brought in by a ton of distinct associated namespaces. I believe that avoiding this is not worth the common-case cost. llvm-svn: 94530 | ||||
* | Correctly treat 64 bit integers specified via the mode attribute as the 'long' | Chandler Carruth | 2010-01-26 | 2 | -3/+46 |
| | | | | | | | | | | type when that type is 64 bits wide, and the 'long long' type when 'long' is only 32 bits wide. This fixes PR6108. Also adds a bunch of test cases to ensure proper conversion between equally sized standard types and mode-specified types on both 32 and 64 bit targets. llvm-svn: 94527 | ||||
* | If a global variable has an initializer with side effects, it can never be ↵ | Anders Carlsson | 2010-01-26 | 2 | -3/+18 |
| | | | | | | deferred (even if it's in an anonymous namespace). llvm-svn: 94525 | ||||
* | Allow ADL to find functions imported by using decls. Leave wordy comment | John McCall | 2010-01-26 | 3 | -12/+38 |
| | | | | | | about interaction between ADL and default arguments. Shrug shoulders, commit. llvm-svn: 94524 |