Skip to content
Snippets Groups Projects
  1. Jun 19, 2015
  2. May 22, 2015
    • Faisal Vali's avatar
      "This adds -fconcepts-ts as a cc1 option for enabling the · 5eb75a6b
      Faisal Vali authored
      in-progress implementation of the Concepts TS. The recommended feature
      test macro __cpp_experimental_concepts is set to 1 (as opposed to
      201501) to indicate that the feature is enabled, but the
      implementation is incomplete.
      
      The link to the Concepts TS in cxx_status is updated to refer to the
      PDTS (N4377). Additional changes related to __has_feature and
      __has_extension are to follow in a later change.
      
      Relevant tests include:
      
      test/Lexer/cxx-features.cpp
      
      The test file is updated with testing of the C++14 + Concepts TS mode.
      The expected behaviour is the same as that of the C++14 modes except
      for the case of __cpp_experimental_concepts."
      
      - Hubert Tong.
      
      Being committed for Hubert (as per his understanding with Richard Smith) as we start work on the concepts-ts following our preliminary strategy session earlier today. 
      
      The patch is tiny and seems quite standard.
      
      Thanks Hubert!
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237982 91177308-0d34-0410-b5e6-96231b3b80d8
      5eb75a6b
  3. May 19, 2015
  4. May 14, 2015
  5. May 07, 2015
  6. Apr 21, 2015
  7. Mar 27, 2015
  8. Mar 20, 2015
    • Reid Kleckner's avatar
      C++14: Disable sized deallocation by default due to ABI breakage · 79bcca26
      Reid Kleckner authored
      There are no widely deployed standard libraries providing sized
      deallocation functions, so we have to punt and ask the user if they want
      us to use sized deallocation. In the future, when such libraries are
      deployed, we can teach the driver to detect them and enable this
      feature.
      
      N3536 claimed that a weak thunk from sized to unsized deallocation could
      be emitted to avoid breaking backwards compatibility with standard
      libraries not providing sized deallocation. However, this approach and
      other variations don't work in practice.
      
      With the weak function approach, the thunk has to have default
      visibility in order to ensure that it is overridden by other DSOs
      providing sized deallocation. Weak, default visibility symbols are
      particularly expensive on MachO, so John McCall was considering
      disabling this feature by default on Darwin. It also changes behavior
      ELF linking behavior, causing certain otherwise unreferenced object
      files from an archive to be pulled into the link.
      
      Our second approach was to use an extern_weak function declaration and
      do an inline conditional branch at the deletion call site. This doesn't
      work because extern_weak only works on MachO if you have some archive
      providing the default value of the extern_weak symbol. Arranging to
      provide such an archive has the same challenges as providing the symbol
      in the standard library. Not to mention that extern_weak doesn't really
      work on COFF.
      
      Reviewers: rsmith, rjmccall
      
      Differential Revision: http://reviews.llvm.org/D8467
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232788 91177308-0d34-0410-b5e6-96231b3b80d8
      79bcca26
  9. Mar 11, 2015
  10. Mar 09, 2015
  11. Mar 06, 2015
  12. Feb 26, 2015
  13. Feb 22, 2015
  14. Feb 21, 2015
  15. Feb 19, 2015
  16. Feb 14, 2015
  17. Feb 09, 2015
  18. Jan 28, 2015
  19. Jan 27, 2015
  20. Jan 14, 2015
  21. Dec 24, 2014
  22. Dec 19, 2014
  23. Dec 17, 2014
  24. Nov 27, 2014
  25. Nov 26, 2014
  26. Nov 14, 2014
  27. Nov 12, 2014
  28. Nov 08, 2014
Loading