[all-commits] [llvm/llvm-project] b198f1: Make some static class members constexpr

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Wed Apr 22 03:26:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b198f1f86ce09b86825dd6d80de2c72a617e27f7
      https://github.com/llvm/llvm-project/commit/b198f1f86ce09b86825dd6d80de2c72a617e27f7
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-04-22 (Wed, 22 Apr 2020)

  Changed paths:
    M llvm/include/llvm/ADT/APFloat.h
    M llvm/include/llvm/ADT/APInt.h
    M llvm/include/llvm/ADT/Hashing.h
    M llvm/include/llvm/ADT/SparseMultiSet.h
    M llvm/include/llvm/ADT/StringRef.h
    M llvm/include/llvm/Support/BranchProbability.h
    M llvm/include/llvm/Support/Error.h
    M llvm/include/llvm/Support/ErrorOr.h
    M llvm/include/llvm/Support/ScaledNumber.h
    M llvm/include/llvm/Support/circular_raw_ostream.h
    M llvm/include/llvm/Support/raw_ostream.h
    M llvm/lib/Support/BranchProbability.cpp
    M llvm/lib/Support/StringRef.cpp
    M llvm/lib/Support/raw_ostream.cpp

  Log Message:
  -----------
  Make some static class members constexpr

This allows them to be ODR used in C++17 mode. NFC.




More information about the All-commits mailing list