Permalink
Switch branches/tags
Nothing to show
Commits on Jul 5, 2012
  1. Merge pull request #20 from krasin/dcpu16

    Update clang to the upstream tip
    Blei committed Jul 5, 2012
Commits on Jul 4, 2012
  1. Merge branch 'master' into dcpu16

    Conflicts:
    	include/clang/Basic/TargetInfo.h
    krasin committed Jul 4, 2012
  2. Update unittests for include change.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159724 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Jul 4, 2012
  3. Remove get(V)BaseClassOffsetInBits, the CharUnit functions should be …

    …used instead.
    
    No functionality change.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159719 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Jul 4, 2012
  4. Drop the ASTContext.h include from Stmt.h and fix up transitive users.

    This required moving the ctors for IntegerLiteral and FloatingLiteral out of
    line which shouldn't change anything as they are usually called through Create
    methods that are already out of line.
    
    ASTContext::Deallocate has been a nop for a long time, drop it from ASTVector
    and make it independent from ASTContext.h
    
    Pass the StorageAllocator directly to AccessedEntity so it doesn't need to
    have a definition of ASTContext around.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159718 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Jul 4, 2012
  5. Split out the "empty" case for compound statement into a separate ctor.

    Move the ASTContext-dependent version out of line.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159717 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Jul 4, 2012
  6. CXXRecordDecl: Split getBases/getVBases into a slow and a fast path.

    This avoids costly computation of getASTContext() and drops the header
    dependency from DeclCXX.h to ASTContext.h.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159716 91177308-0d34-0410-b5e6-96231b3b80d8
    d0k committed Jul 4, 2012
  7. Hoist the logic for selecting the Objective-C dispatch method into th…

    …e runtime
    
    class, from the target.  No functionality change, just less duplicated logic.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159710 91177308-0d34-0410-b5e6-96231b3b80d8
    David Chisnall committed Jul 4, 2012
  8. A few more cleanups for the GNU family of ObjC runtimes.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159708 91177308-0d34-0410-b5e6-96231b3b80d8
    David Chisnall committed Jul 4, 2012
  9. Renamed RawComment kinds to avoid name clash.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159706 91177308-0d34-0410-b5e6-96231b3b80d8
    abramobagnara committed Jul 4, 2012
  10. Move a comment from the commit message into the code.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159696 91177308-0d34-0410-b5e6-96231b3b80d8
    bob-wilson committed Jul 4, 2012
Commits on Jul 3, 2012
  1. Obj-C++11 parser: handle a fall out of delayed

    c-function parsing when a declaration with
    C++0x braced-init-list is inside an @implementation.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159693 91177308-0d34-0410-b5e6-96231b3b80d8
    Fariborz Jahanian committed Jul 3, 2012
  2. [analyzer] For now, don't inline non-static member overloaded operators.

    Our current inlining support (specifically RegionStore::enterStackFrame)
    doesn't know that calls to overloaded operators may be calls to non-static
    member functions, and that in these cases the first argument should be
    treated as 'this'. This caused incorrect results and sometimes crashes.
    
    The long-term fix will be to rewrite RegionStore::enterStackFrame to use
    CallEvent and its subclasses, but for now we can just disable these
    problematic calls by classifying them under a new CallEvent,
    CXXMemberOperatorCall.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159692 91177308-0d34-0410-b5e6-96231b3b80d8
    jrose-apple committed Jul 3, 2012
  3. Obj-C++11 parser: fix broken parsing of c-function

    defined in class implementations.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159691 91177308-0d34-0410-b5e6-96231b3b80d8
    Fariborz Jahanian committed Jul 3, 2012
  4. Obj-C++11 parser: turn off buffering of

    c-function defined in objc class
    implementation for now.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159690 91177308-0d34-0410-b5e6-96231b3b80d8
    Fariborz Jahanian committed Jul 3, 2012
  5. objective-c: Refactor parse/sema portion of

    objective-c's fast enumeration statement,
    for more work to come.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159689 91177308-0d34-0410-b5e6-96231b3b80d8
    Fariborz Jahanian committed Jul 3, 2012
  6. Rename the GCC Objective-C runtime to gcc from gnu-fragile and the GN…

    …Ustep
    
    runtime to gnustep from gnu.  Fix EH for the GCC runtime.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159684 91177308-0d34-0410-b5e6-96231b3b80d8
    David Chisnall committed Jul 3, 2012
  7. When using -pg targeting OS X 10.8, pass -no_new_main to the linker.

    By default on OS X 10.8, we don't link with a crt1.o file and the linker
    knows to use _main as the entry point.  But, when compiling with -pg, we
    need to link with the gcrt1.o file, and the linker needs to be told to use
    the "start" symbol as the entry point.  The -no_new_main linker option does
    that last part.  <rdar://problem/11491405>
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159683 91177308-0d34-0410-b5e6-96231b3b80d8
    bob-wilson committed Jul 3, 2012
  8. CommentLexer: remove Markdown tokens from the token list (they are no…

    …t emitted by lexer).
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159681 91177308-0d34-0410-b5e6-96231b3b80d8
    gribozavr committed Jul 3, 2012
  9. Thread safety analysis: improve handling of smart pointers.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159679 91177308-0d34-0410-b5e6-96231b3b80d8
    delesley committed Jul 3, 2012
  10. Make the following changes in the way Mips handles vector arguments a…

    …nd return
    
    values:
    
    - Return integer vectors in integer registers.
    - Pass vector arguments in integer registers.
    - Set an upper bound for argument alignment. The largest alignment is 8-byte
      for O32 and 16-byte for N32/64.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159676 91177308-0d34-0410-b5e6-96231b3b80d8
    Akira Hatanaka committed Jul 3, 2012
  11. Thread Safety Analysis: handle expressions involving temporaries,

    e.g. ExprWithCleanups.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159674 91177308-0d34-0410-b5e6-96231b3b80d8
    delesley committed Jul 3, 2012
  12. Add additional architecture defines for PPC targets.

    Patch by Andy Gibbs.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159665 91177308-0d34-0410-b5e6-96231b3b80d8
    hfinkel committed Jul 3, 2012
  13. [libclang] Protect against a race condition where a thread

    may be destroying an ASTUnit while cleanupOnDiskMapAtExit is
    getting called.
    
    rdar://11781241
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159664 91177308-0d34-0410-b5e6-96231b3b80d8
    akyrtzi committed Jul 3, 2012
  14. clang/utils/TableGen/ClangAttrEmitter.cpp: Fix abuse of StringRef (fr…

    …om getValueAsString()).
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159662 91177308-0d34-0410-b5e6-96231b3b80d8
    chapuni committed Jul 3, 2012
  15. Silence warning in -Asserts build

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159635 91177308-0d34-0410-b5e6-96231b3b80d8
    Matt Beaumont-Gay committed Jul 3, 2012
  16. Share ConvertUTF8toWide() between Lex and CodeGen.

    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159634 91177308-0d34-0410-b5e6-96231b3b80d8
    nico committed Jul 3, 2012
  17. Rename -Wself-assign-memvar to -Wself-assign-field to improve local c…

    …onsistency a bit.
    
    (cf -Wunused-private-field and several other existing -field diagnostics.)
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159633 91177308-0d34-0410-b5e6-96231b3b80d8
    nico committed Jul 3, 2012
  18. Remove a redundant assignment to the FDecl variable from *inside* it's

    initializer.
    
    I really feel like Clang should warn about this, but I can't describe
    a good reason. GCC will warn on this in some cases under
    -Wsequence-point, but it actually seems like a false positive for that
    warning....
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159631 91177308-0d34-0410-b5e6-96231b3b80d8
    chandlerc committed Jul 3, 2012
Commits on Jul 2, 2012
  1. Significantly simplify CGExprAgg's logic about ignored results:

    if we want to ignore a result, the Dest will be null.  Otherwise,
    we must copy into it.  This means we need to ensure a slot when
    loading from a volatile l-value.
    
    With all that in place, fix a bug with chained assignments into
    __block variables of aggregate type where we were losing insight into
    the actual source of the value during the second assignment.
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159630 91177308-0d34-0410-b5e6-96231b3b80d8
    rjmccall committed Jul 2, 2012
  2. Documentation cleanup:

    * Added file header documentation with \file and \brief;
    * Cleaned up existing doc comments and added/annotated \brief summaries.
    
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159629 91177308-0d34-0410-b5e6-96231b3b80d8
    jdennett committed Jul 2, 2012