Skip to content
  1. Oct 08, 2013
  2. Oct 07, 2013
  3. Oct 06, 2013
  4. Oct 05, 2013
    • Marshall Clow's avatar
      LWG Issue 2247: Implement type trait 'is_null_pointer' · dbd2ebb0
      Marshall Clow authored
      llvm-svn: 192049
      dbd2ebb0
    • Marshall Clow's avatar
      Implement literal suffixes for compled · ea7c7cc5
      Marshall Clow authored
      llvm-svn: 192048
      ea7c7cc5
    • Marshall Clow's avatar
      Mark namespaces for user defined literals as 'inline' · 3ceafc7f
      Marshall Clow authored
      llvm-svn: 192047
      3ceafc7f
    • Marshall Clow's avatar
      Implement LWG issue 2275 'forward_as_tuple should be constexpr' · de9320aa
      Marshall Clow authored
      llvm-svn: 192038
      de9320aa
    • Howard Hinnant's avatar
      68a26105
    • Howard Hinnant's avatar
      G M: Attached is a patch for libcxx's cmake file. · 4e07b5b9
      Howard Hinnant authored
       
      I've changed it so we don't set highest level warnings (all) for MSVC when building projects using cmake and instead leave the default. That's /W4 on my machine and seems to be ok.
       
      With all warnings on for msvc, we see literally thousands of warnings. 99.99% aren't relevant and just obscure the ones that are.
      I think the user can still override things if they want something different from the command line when using cmake.
      
      llvm-svn: 192010
      4e07b5b9
    • Howard Hinnant's avatar
      G M: The attached patch is for libcxx's new.cpp and __config files. The... · a942f2ff
      Howard Hinnant authored
      G M: The attached patch is for libcxx's new.cpp and __config files. The patch's intent is to make new.cpp compile using MS's cl.exe compiler without changing the meaning of anything for any other compiler.
      
      The issue this patch seeks to address is that MS's compiler (cl.exe) doesn't support the __attribute__((__weak__)) or __atribute__((__visibility__("default")) syntax; so a solution must be found where cl.exe doesn't see this syntax.
      
      This patch seeks to solve this problem by changing code patterned like this:
      __attribute__((__weak__, __visibility__("default")))
      void* operator new(size_t size, const std::nothrow_t&) _NOEXCEPT { /*snip*/; return p; }
      
      to code like this:
      _LIBCPP_WEAK
      void* operator new(size_t size, const std::nothrow_t&) _NOEXCEPT { return p; }
      
      Howard:  Thanks for all the comments regarding the default visibility
      tag on the definition.  I agree it isn't needed, and that there are lots
      of other places where it is missing.  That being said, I'm not wanting
      to rock the boat on that issue right now.  So I've added it back to the
      definition via _LIBCPP_FUNC_VIS.  A later pass dedicated just to this
      issue can bring things in to a consistent state one way or the other. 
      Note that we do not want to have the exact same attributes on the
      declaration and defintion in this case.  The declaration should not be
      marked weak, whereas the definition should (which is what G M's patch
      did). I've fully tested on OS X to ensure that the resultant attribute
      syntax actually works.
      
      llvm-svn: 192007
      a942f2ff
    • Howard Hinnant's avatar
      G M: A small patch to fix a couple of warnings in stdexcept.cpp for cl.exe... · 79710108
      Howard Hinnant authored
      G M: A small patch to fix a couple of warnings in stdexcept.cpp for cl.exe which does not support #pragma visibility.
      
      llvm-svn: 191988
      79710108
    • Howard Hinnant's avatar
      G M: Changes all references to "x inline" to "inline x" where x =... · 3af48ef7
      Howard Hinnant authored
      G M: Changes all references to "x inline" to "inline x" where x = _libcpp_always_inline or _libcpp_inline_visibility macros.
      
      The patch touches these files:
      
      locale
      array
      deque
      new
      string
      utility
      vector
      __bit_reference
      __split_buffer
      locale_win32.h
       
      There is no intended functionality change and it is expected that reversing the position of the inline keyword with regard to the other keywords does not change the meaning of anything, least not for apple/Linux etc.
       
      It is intended to make libcxx more consistent with itself and to prevent the 1000 or so
      "inline.cpp(3) : warning C4141: 'inline' : used more than once" warnings that MS's cl.exe compiler emits without this patch, i.e. if inline is not the first keyword before a function name etc.
       
      Prefer "inline [other inline related keyword]" over "[other related keyword] inline".
      After this patch, libcxx should be consistent to this pattern.
      
      llvm-svn: 191987
      3af48ef7
  5. Oct 04, 2013
  6. Oct 03, 2013
  7. Oct 02, 2013
  8. Oct 01, 2013
  9. Sep 30, 2013
  10. Sep 28, 2013
  11. Sep 25, 2013
Loading