| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Silence a control reaches end of function warning. Patch by Enea | Mike Stump | 2010-01-18 | 1 | -0/+1 |
| | | | | | | | Zaffanella. llvm-svn: 93743 | ||||
| * | Mostly renaming some methods and updating comments to | Fariborz Jahanian | 2010-01-18 | 2 | -31/+40 |
| | | | | | | | | reflect what these methods are actually doing. One method template for future work. No change in functionality. llvm-svn: 93742 | ||||
| * | Make CMake's clang++ installation respect DESTDIR, based on a patch by | Douglas Gregor | 2010-01-18 | 1 | -1/+1 |
| | | | | | | | Ingmar Vanhassel. Fixes PR6046. llvm-svn: 93741 | ||||
| * | Improve source-location information for builtin TypeLocs, from Enea | Douglas Gregor | 2010-01-18 | 9 | -48/+333 |
| | | | | | | | Zaffanella (with a couple of my tweaks). llvm-svn: 93733 | ||||
| * | Don't build/install clang++ in CLANG_IS_PRODUCTION build mode yet. | Daniel Dunbar | 2010-01-18 | 1 | -0/+2 |
| | | | | | llvm-svn: 93732 | ||||
| * | Fix -Asserts warning. | Daniel Dunbar | 2010-01-18 | 1 | -2/+1 |
| | | | | | llvm-svn: 93731 | ||||
| * | Fix race condition in creating objdir. | Daniel Dunbar | 2010-01-18 | 1 | -4/+2 |
| | | | | | llvm-svn: 93730 | ||||
| * | Encoding calling conventions in the type system, from Charles Davis! | Douglas Gregor | 2010-01-18 | 6 | -42/+127 |
| | | | | | llvm-svn: 93726 | ||||
| * | More VTT builder fixes. With these fixes we now correctly handle the very ↵ | Anders Carlsson | 2010-01-18 | 2 | -5/+62 |
| | | | | | | | complex VTT example from the Itanium ABI spec. llvm-svn: 93725 | ||||
| * | Add support for computing size in elements for symbolic regions obtained from | Zhongxing Xu | 2010-01-18 | 6 | -12/+47 |
| | | | | | | | malloc(). llvm-svn: 93722 | ||||
| * | Move some common code into BuildVTT. | Anders Carlsson | 2010-01-18 | 1 | -6/+3 |
| | | | | | llvm-svn: 93710 | ||||
| * | Fix a bunch of VTT layout bugs, add simple tests for VTT layout. | Anders Carlsson | 2010-01-18 | 3 | -11/+50 |
| | | | | | llvm-svn: 93709 | ||||
| * | Add test case for pr6069. | Zhongxing Xu | 2010-01-18 | 1 | -0/+6 |
| | | | | | llvm-svn: 93708 | ||||
| * | Update virt.cpp for changes to the LLVM asm printer (?) This test should ↵ | Anders Carlsson | 2010-01-18 | 1 | -2/+2 |
| | | | | | | | really be all LLVM IR... llvm-svn: 93707 | ||||
| * | If the symbol has not been tracked, do not free it. This is possible when free | Zhongxing Xu | 2010-01-18 | 1 | -1/+6 |
| | | | | | | | is called on a pointer that does not get its value directly from malloc. llvm-svn: 93706 | ||||
| * | Minor VTT builder cleanup, no functionality change. | Anders Carlsson | 2010-01-17 | 1 | -14/+12 |
| | | | | | llvm-svn: 93696 | ||||
| * | Get the ctor vtable address points directly from the VTT builder. | Anders Carlsson | 2010-01-17 | 1 | -2/+12 |
| | | | | | llvm-svn: 93681 | ||||
| * | PR6055: fix FreeBSD c++ include path. patch by Roman Divacky | Nuno Lopes | 2010-01-17 | 1 | -1/+1 |
| | | | | | llvm-svn: 93668 | ||||
| * | Introduce a second queue of "local" pending implicit instantiation, | Douglas Gregor | 2010-01-16 | 4 | -11/+61 |
| | | | | | | | | | | | which are instantiations of the member functions of local classes. These implicit instantiations have to occur at the same time as---and in the same local instantiation scope as---the enclosing function, since the member functions of the local class can refer to locals within the enclosing function. This should really, really fix PR5764. llvm-svn: 93666 | ||||
| * | Add PCH support for CXXStaticCastExpr, CXXDynamicCastExpr, ↵ | Sam Weinig | 2010-01-16 | 6 | -1/+173 |
| | | | | | | | CXXReinterpretCastExpr, CXXConstCastExpr and CXXFunctionalCastExpr. llvm-svn: 93658 | ||||
| * | While determining when to parse inline member functions of a class, | Douglas Gregor | 2010-01-16 | 2 | -8/+47 |
| | | | | | | | | | | | | | distinguish between nested classes (whose member functions cannot be parsed until the innermost non-nested class is complete) and local classes (that are defined within a function but are not necessarily nested). The upshot of this change, which fixes PR5764, is that the bodies of member functions of local (non-nested) classes need to be parsed when the local class is complete (and no later), since they may refer to function-local static variables, typedefs, enums, etc. llvm-svn: 93653 | ||||
| * | When we are instantiating a member function of a local class, be sure | Douglas Gregor | 2010-01-16 | 4 | -9/+33 |
| | | | | | | | | | | to merge the local instantiation scope with the outer local instantiation scope, so that we can instantiate declarations from the function owning the local class. Fixes an assert while instantiating Boost.MPL's BOOST_MPL_ASSERT_MSG. llvm-svn: 93651 | ||||
| * | Fix a rewriting crash and correct rewriting of __block | Fariborz Jahanian | 2010-01-16 | 2 | -7/+29 |
| | | | | | | | declaration where its initializer has a type-cast. llvm-svn: 93650 | ||||
| * | Improve the test for unused-expression warnings slightly | Douglas Gregor | 2010-01-16 | 1 | -0/+9 |
| | | | | | llvm-svn: 93644 | ||||
| * | Partial fix for PR6022, where we were complaining when a friend | Douglas Gregor | 2010-01-16 | 2 | -2/+19 |
| | | | | | | | | | function template declared within a class template did not match a function in another scope. We really need to rework how friends-in-templates are semantically checked. llvm-svn: 93642 | ||||
| * | Give ObjCClassRef cursors a sane representation, which is encapsulated | Douglas Gregor | 2010-01-16 | 8 | -47/+48 |
| | | | | | | | | | | in CXCursor.cpp. With this sane representation, fix the class reference that is part of Objective-C category declarations so that the cursor's location matches up with the reference, not the class being referred to. llvm-svn: 93640 | ||||
| * | Improve location information for Objective-C category declarations. We | Douglas Gregor | 2010-01-16 | 6 | -17/+39 |
| | | | | | | | | | | | | | | previously only had a single location (the @ in @interface); now we know where the @ is (for the start of the declaration), where the class name is (that's the normal "location" now for diagnostics), and where the category name is. Also, eliminated the redundant "end" location, since ObjCContainerDecl already has better @end information. The only XFAIL'd test is temporary; will un-XFAIL-it once I've taught CIndex how to use the new locations. llvm-svn: 93639 | ||||
| * | Use a sane encoding for CXCursor_ObjCProtocolRef, using the actual | Douglas Gregor | 2010-01-16 | 6 | -34/+57 |
| | | | | | | | | source locations where the protocols were referenced rather than the location of some random enclosing declaration. llvm-svn: 93637 | ||||
| * | Keep track of the source locations for each protocol reference in | Douglas Gregor | 2010-01-16 | 10 | -44/+179 |
| | | | | | | | | | Objective-C classes, protocol definitions, forward protocol declarations, and categories. This information isn't actually used yet; that's coming next. llvm-svn: 93636 | ||||
| * | Give CXCursor_ObjCSuperClassRef a sane encoding, which is only known | Douglas Gregor | 2010-01-16 | 4 | -14/+46 |
| | | | | | | | to CXCursor.cpp. llvm-svn: 93634 | ||||
| * | Fix a use of uninitialized memory in overload diagnostics. | John McCall | 2010-01-16 | 1 | -1/+4 |
| | | | | | llvm-svn: 93629 | ||||
| * | Add mapping from ObjCPropertDecl to CXCursorKind. | Ted Kremenek | 2010-01-16 | 1 | -0/+1 |
| | | | | | llvm-svn: 93623 | ||||
| * | Remove 'default' case in switch statement in clang_getCursorKindSpelling(). ↵ | Ted Kremenek | 2010-01-16 | 2 | -23/+25 |
| | | | | | | | This identified a missing case (warned by the compiler) and identified that CXCursor_FirstDecl didn't actually correspond to the first decl. llvm-svn: 93622 | ||||
| * | Remove TranslateKind and centralize Decl -> CXCursorKind in GetCursorKind(). ↵ | Ted Kremenek | 2010-01-16 | 8 | -79/+75 |
| | | | | | | | This revealed a bunch of inconsistencies in how CXCursorKinds were being computed. llvm-svn: 93618 | ||||
| * | Add codgen for BI__builtin_llvm_memory_barrier. | Tanya Lattner | 2010-01-16 | 1 | -0/+12 |
| | | | | | llvm-svn: 93611 | ||||
| * | The codegen for these builtins was removed long ago, but their definitions ↵ | Tanya Lattner | 2010-01-16 | 1 | -6/+0 |
| | | | | | | | remained. Removing them totally. llvm-svn: 93607 | ||||
| * | Fix crash generating debug info for constructor for anonymous struct. | Eli Friedman | 2010-01-16 | 2 | -1/+7 |
| | | | | | llvm-svn: 93601 | ||||
| * | Migrate Decl* -> cursorkind logic into CXCursor.cpp, and drastically tighten ↵ | Ted Kremenek | 2010-01-16 | 3 | -69/+53 |
| | | | | | | | TUVisitor. llvm-svn: 93599 | ||||
| * | Make the AST explicitly represent the cast of the first operand of a | Eli Friedman | 2010-01-16 | 2 | -3/+16 |
| | | | | | | | pointer-to-member operator. llvm-svn: 93592 | ||||
| * | Remove unused code. | Ted Kremenek | 2010-01-15 | 1 | -36/+0 |
| | | | | | llvm-svn: 93586 | ||||
| * | Refactor USR logic for EnumDecls and RecordDecls so that both handle ↵ | Ted Kremenek | 2010-01-15 | 1 | -15/+16 |
| | | | | | | | 'anonymous' declarations in the same way. llvm-svn: 93585 | ||||
| * | Generalize handling for unreachable code warnings to all binary operators. | Mike Stump | 2010-01-15 | 2 | -20/+17 |
| | | | | | llvm-svn: 93584 | ||||
| * | Candidates with arity mismatches are extra-special non-viable and need to | John McCall | 2010-01-15 | 1 | -16/+32 |
| | | | | | | | | | stand at the back of the line. Thanks to Oliver Hunt for reminding me to do this. llvm-svn: 93583 | ||||
| * | Refine location reporting for unreachable code warnings for comma expressions. | Mike Stump | 2010-01-15 | 2 | -12/+101 |
| | | | | | llvm-svn: 93574 | ||||
| * | USR generation: look at the typedef of an anonymous struct (if any) when ↵ | Ted Kremenek | 2010-01-15 | 1 | -2/+6 |
| | | | | | | | trying to generate a USR. llvm-svn: 93572 | ||||
| * | define __weak to null in rewritten source for | Fariborz Jahanian | 2010-01-15 | 1 | -0/+1 |
| | | | | | | | -fms-extensions as well. llvm-svn: 93569 | ||||
| * | Make CXCursor's data opaque. | Douglas Gregor | 2010-01-15 | 5 | -48/+82 |
| | | | | | llvm-svn: 93561 | ||||
| * | Make LookupResult::resolveKind() robust against NotFoundInCurrentInstantiation. | John McCall | 2010-01-15 | 1 | -1/+1 |
| | | | | | | | Fixes PR 6049. llvm-svn: 93557 | ||||
| * | Add CXCursor.[h,cpp]. These files will centralize the logic for ↵ | Ted Kremenek | 2010-01-15 | 4 | -12/+63 |
| | | | | | | | creating/probing CXCursors. llvm-svn: 93547 | ||||
| * | Fix a couple bugs in copy assignment operator synthesis. | Eli Friedman | 2010-01-15 | 2 | -19/+25 |
| | | | | | llvm-svn: 93546 | ||||

