Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

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 authored
  2. remove unused function & enumerations

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96635 91177308-0d34-0410-b5e6-96231b3b80d8
    Blaine Garst authored

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 authored
  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 authored
  3. Ted Kremenek

    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
    krememek authored
  4. Ted Kremenek

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

    This reverts commit 4383e04.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96622 91177308-0d34-0410-b5e6-96231b3b80d8
    krememek authored
  5. Ted Kremenek

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

    This reverts commit 9557500.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96620 91177308-0d34-0410-b5e6-96231b3b80d8
    krememek authored
  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 authored
  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 authored
  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 authored
  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 authored
  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 authored
  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 authored
  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 authored
  13. Ted Kremenek

    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
    krememek authored
  14. Ted Kremenek

    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
    krememek authored
  15. Ted Kremenek

    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
    krememek authored
  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 authored
  17. Daniel Dunbar

    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 authored
  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 authored
  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 authored
  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 authored
  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 authored
  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 authored
  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 authored
  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 authored
  25. Remove some dead code.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96581 91177308-0d34-0410-b5e6-96231b3b80d8
    Anders Carlsson authored
  26. Benjamin Kramer

    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 authored
  27. Ted Kremenek

    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
    krememek authored
  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 authored
  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 authored
  30. DougGregor

    Add some spacing in the code-completion results for a return statement

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96567 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor authored
  31. DougGregor

    Teach CMake to put the CIndex header into the Xcode/MSVC project

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96566 91177308-0d34-0410-b5e6-96231b3b80d8
    DougGregor authored
  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 authored
  33. Ted Kremenek

    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
    krememek authored
Something went wrong with that request. Please try again.