Skip to content
Commits on Feb 19, 2010
  1. Patch removes IVars list from ObjCInterfaceDecl and

    instead relies on their DeclContext for iteration, etc.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96638 91177308-0d34-0410-b5e6-96231b3b80d8
    Fariborz Jahanian committed Feb 19, 2010
  2. remove unused function & enumerations

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96635 91177308-0d34-0410-b5e6-96231b3b80d8
    Blaine Garst committed Feb 19, 2010
Commits on Feb 18, 2010
  1. @DougGregor

    Teach ASTUnit to keep track of temporary files, then delete them when

    the ASTUnit itself is destroyed. Fixes <rdar://problem/7649385>.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96628 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Feb 18, 2010
  2. @DougGregor

    Re-apply my diagnostics-capture patch for CIndex, with some tweaks to

    try to address the msvc failures.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96624 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Feb 18, 2010
  3. @tkremenek

    Allow GNU attributes to appear in an Objective-C method declaration

    before the selector name (but after the return type).  Among other things,
    this allows IBAction to be implemented with an attribute.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96623 91177308-0d34-0410-b5e6-96231b3b80d8
    tkremenek committed Feb 18, 2010
  4. @tkremenek

    Revert "Sort visitor methods so we can easily tell what's implemented."

    This reverts commit 4383e04c75731f8695b8355783f9966ac56b0926.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96622 91177308-0d34-0410-b5e6-96231b3b80d8
    tkremenek committed Feb 18, 2010
  5. @tkremenek

    Revert "Tidy up order of switch statement. No functionality change."

    This reverts commit 95575005fc6409df98e6e079caf324308f62171b.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96620 91177308-0d34-0410-b5e6-96231b3b80d8
    tkremenek committed Feb 18, 2010
  6. @DougGregor

    Revert my CIndex diagnostic changes (r96603, 96606, 96607), which were

    breaking the msvc9 builder for unknown reasons.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96618 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Feb 18, 2010
  7. @rjmccall

    Revert the ctor/dtor alias optimization for now; the buildbots can de…

    …tect
    
    some failure here that I can't.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96612 91177308-0d34-0410-b5e6-96231b3b80d8
    rjmccall committed Feb 18, 2010
  8. Fixed a crash specific to blocks in c++ uncovered by an internal

    test suite.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96608 91177308-0d34-0410-b5e6-96231b3b80d8
    Fariborz Jahanian committed Feb 18, 2010
  9. @DougGregor

    Introduce debugging/testing hook clang_enableStackTraces() into

    CIndex, so that c-index-test to use it to call
    lvm::sys::PrintStackTraceOnErrorSignal().
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96607 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Feb 18, 2010
  10. @DougGregor

    Resurrect the displayDiagnostics parameter to clang_createIndex(), and

    display captured diagnostics when we can't return an invalid
    CXTranslationUnit.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96606 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Feb 18, 2010
  11. @rjmccall

    Make deleting and complete dtor variants defer to other dtor variants by

    calling them as subroutines.  This triggers whenever the alias optimization
    doesn't, i.e. when the dtor has linkonce linkage or there are virtual bases
    or it's the deleting dtor.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96605 91177308-0d34-0410-b5e6-96231b3b80d8
    rjmccall committed Feb 18, 2010
  12. @DougGregor

    Introduce CIndex API functions for displaying a diagnostic, with some

    knobs to control formatting. Eventually, I'd like to merge the
    implementation of this code with the TextDiagnosticPrinter, so that
    it's easy for CIndex clients to produce beautiful diagnostics like the
    clang compiler does.
    
    Use this new function to display diagnostics within c-index-test.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96603 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Feb 18, 2010
  13. @tkremenek

    Tidy up order of switch statement. No functionality change.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96602 91177308-0d34-0410-b5e6-96231b3b80d8
    tkremenek committed Feb 18, 2010
  14. @tkremenek

    Sort visitor methods so we can easily tell what's implemented.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96600 91177308-0d34-0410-b5e6-96231b3b80d8
    tkremenek committed Feb 18, 2010
  15. @tkremenek

    Change cursor behavior for attributes to have them visited as part of…

    … recursing
    
    to the children of a Decl.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96599 91177308-0d34-0410-b5e6-96231b3b80d8
    tkremenek committed Feb 18, 2010
  16. Attempt to fix the 32-bit test failures.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96595 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Feb 18, 2010
  17. @ddunbar

    tests: Tweak %clangxx definition to something which should be more po…

    …rtable.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96593 91177308-0d34-0410-b5e6-96231b3b80d8
    ddunbar committed Feb 18, 2010
  18. @DougGregor

    Rework how CIndex handles diagnostics. Rather than using a callback,

    we attach diagnostics to translation units and code-completion
    results, so they can be queried at any time.
    
    To facilitate this, the new StoredDiagnostic class stores a diagnostic
    in a serializable/deserializable form, and ASTUnit knows how to
    capture diagnostics in this stored form. CIndex's CXDiagnostic is a
    thin wrapper around StoredDiagnostic, providing a C interface to
    stored or de-serialized diagnostics.
    
    I've XFAIL'd one test case temporarily, because currently we end up
    storing diagnostics in an ASTUnit that's never returned to the user
    (because it contains errors). I'll introduce a temporary fix for this
    soon; the real fix will be to allow us to return and query invalid ASTs.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96592 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor committed Feb 18, 2010
  19. Fix another bug and add another class.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96590 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Feb 18, 2010
  20. Add another class from cxx-vtable-ex.html

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96588 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Feb 18, 2010
  21. More work on vcall offsets.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96587 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Feb 18, 2010
  22. Add tests from the Itanium C++ ABI spec.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96586 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Feb 18, 2010
  23. Start stubbing out vcall offset handling.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96585 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Feb 18, 2010
  24. Store the base offset of the final overrider in the OverriderInfo str…

    …uct, to be used for vcall offsets.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96582 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Feb 18, 2010
  25. Remove some dead code.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96581 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson committed Feb 18, 2010
  26. @d0k

    Try to fix the auroraux buildbot. I suspect it has a "#define SEC" so…

    …mewhere.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96577 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Feb 18, 2010
  27. @tkremenek

    Add basic cursor traversal for attributes. We currently don't have so…

    …urce
    
    ranges for Attr objects, so lookup by cursor location currently doesn't work.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96571 91177308-0d34-0410-b5e6-96231b3b80d8
    tkremenek committed Feb 18, 2010
  28. Also don't warn about force_align_arg_pointer on function typedefs. (…

    …This will
    
    break if you declare an actual function using that typedef. Come to think of it,
    maybe I should make this part of the type.)
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96570 91177308-0d34-0410-b5e6-96231b3b80d8
    Charles Davis committed Feb 18, 2010
  29. Two fixes related to force_align_arg_pointer:

    - Also recognize __force_align_arg_pointer__.
    - Don't warn if it's used on a function pointer typedef.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96568 91177308-0d34-0410-b5e6-96231b3b80d8
    Charles Davis committed Feb 18, 2010
  30. @DougGregor
  31. @DougGregor
  32. @rjmccall

    Extract out function-body code generation into its own method. No fun…

    …ctionality
    
    change.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96564 91177308-0d34-0410-b5e6-96231b3b80d8
    rjmccall committed Feb 18, 2010
  33. @tkremenek

    Start adding cursor kinds for attributes, with first exposing

    IBActionAttr and IBOutletAttr respectively.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96563 91177308-0d34-0410-b5e6-96231b3b80d8
    tkremenek committed Feb 18, 2010
Something went wrong with that request. Please try again.