Skip to content
  1. Oct 02, 2011
  2. Oct 01, 2011
    • John McCall's avatar
      When performing an @throw in ARC, retain + autorelease · 248512a5
      John McCall authored
      the pointer, being sure to do so before running cleanups
      associated with that full-expression.  rdar://10042689
      
      llvm-svn: 140945
      248512a5
    • John McCall's avatar
      Parse attributes written in an ObjC method parameter type as · a55902bf
      John McCall authored
      attributes on the parameter declaration.
      
      llvm-svn: 140944
      a55902bf
    • Anna Zaks's avatar
      Address PR10616. The crash has already been fixed by Ted in r140725, so just... · 79ada929
      Anna Zaks authored
      Address PR10616. The crash has already been fixed by Ted in r140725, so just refactor to use existing API + test case.
      
      llvm-svn: 140932
      79ada929
    • John McCall's avatar
      Hey, maybe we shouldn't silently ignore decl attributes · 42856de5
      John McCall authored
      on declarators written as types.
      
      llvm-svn: 140931
      42856de5
    • Richard Smith's avatar
      constexpr: semantic checking for constexpr functions and constructors. Based in · eb3c10c2
      Richard Smith authored
      part on patches by Peter Collingbourne.
      
      We diverge from the C++11 standard in a few areas, mostly related to checking
      constexpr function declarations, and not just definitions. See WG21 paper
      N3308=11-0078 for details.
      
      Function invocation substitution is not available in this patch; constexpr
      functions cannot yet be used from within constant expressions.
      
      llvm-svn: 140926
      eb3c10c2
    • John McCall's avatar
      Allow the results of cf_returns_not_retained function · e4fe2457
      John McCall authored
      calls, or calls to audited functions without an explicit
      return attribute, to be casted without a bridge cast.
      Tie this mechanism in with the existing exceptions to
      the cast restrictions.  State those restrictions more
      correctly and generalize.
      
      llvm-svn: 140912
      e4fe2457
    • John McCall's avatar
      Tweak the interface for analyzing the CF conventions for a name · 525f0559
      John McCall authored
      to take a FunctionDecl* instead of an llvm::StringRef.  Eventually
      we might push more logic in there, like using slightly different
      conventions for C++ methods.
      
      Also, fix a bug where 'copy' and 'create' were being caught in 
      non-camel-cased strings.  We want copyFoo and CopyFoo and XCopy
      but not Xcopy or xcopy.
      
      llvm-svn: 140911
      525f0559
    • Chandler Carruth's avatar
      Revert r140604: "Let -B work for ld paths on Linux." · 6d913a18
      Chandler Carruth authored
      This patch may do what it describes, it may not. It's hard to tell as
      its completely unclear what this is supposed to do. There are also no
      test cases. More importantly, this seems to have broken lots of linker
      invocations on multilib Linux systems.
      
      The manual pages for 'ld' on Linux mention translating a '=' at the
      beginning of the path into a *configure time* sysroot prefix (this is,
      I believe, distinct from the --sysroot flag which 'ld' also can
      support). I tested this with a normal binutils 'ld', a binutils 'ld'
      with the sysroot flag enabled, and gold with the sysroot flag enabled,
      and all of them try to open the path '=/lib/../lib32', No translation
      occurs.
      
      I think at the very least inserting an '=' needs to be conditioned on
      some indication that it is supported and desired. I'm also curious to
      see what toolchain and whan environment cause it to actually make
      a difference.
      
      I'm going to add a test case for basic sanity of Linux 'ld' invocations
      from Clang in a follow-up commit that would have caught this.
      
      llvm-svn: 140908
      6d913a18
    • Argyrios Kyrtzidis's avatar
      Mark a TagDecl when it is free standing (e.g. "struct foo;") · 201d3771
      Argyrios Kyrtzidis authored
      llvm-svn: 140894
      201d3771
  3. Sep 30, 2011
  4. Sep 29, 2011
Loading