Skip to content
  • Richard Smith's avatar
    [c++1z] P0012R1: Implement a few remaining pieces: downgrade diagnostic for · bb4ce7e2
    Richard Smith authored
    mismatched dynamic exception specifications in expressions from an error to a
    warning, since this is no longer ill-formed in C++1z.
    
    Allow reference binding of a reference-to-non-noexcept function to a noexcept
    function lvalue. As defect resolutions, also allow a conditional between
    noexcept and non-noexcept function lvalues to produce a non-noexcept function
    lvalue (rather than decaying to a function pointer), and allow function
    template argument deduction to deduce a reference to non-noexcept function when
    binding to a noexcept function type.
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284905 91177308-0d34-0410-b5e6-96231b3b80d8
    bb4ce7e2