[all-commits] [llvm/llvm-project] 968561: Unconditionally enable lvalue function designators...

AaronBallman via All-commits all-commits at lists.llvm.org
Wed Jan 22 06:54:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 968561bcdc34c7d74482fe3bb69a045abf08d2c1
      https://github.com/llvm/llvm-project/commit/968561bcdc34c7d74482fe3bb69a045abf08d2c1
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
    M llvm/include/llvm/ADT/Optional.h
    M llvm/include/llvm/ADT/PointerIntPair.h
    M llvm/include/llvm/Support/Compiler.h
    M llvm/unittests/ADT/OptionalTest.cpp

  Log Message:
  -----------
  Unconditionally enable lvalue function designators; NFC

We previously had to guard against older MSVC and GCC versions which had rvalue
references but not support for marking functions with ref qualifiers. However,
having bumped our minimum required version to MSVC 2017 and GCC 5.1 mean we can
unconditionally enable this feature. Rather than keeping the macro around, this
replaces use of the macro with the actual ref qualifier.




More information about the All-commits mailing list