[all-commits] [llvm/llvm-project] 6da3d8: [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jul 28 09:31:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6da3d8b19c32c76bb503b1a71fc167a0487ef200
      https://github.com/llvm/llvm-project/commit/6da3d8b19c32c76bb503b1a71fc167a0487ef200
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    M llvm/include/llvm/MC/MCContext.h
    M llvm/include/llvm/Support/CrashRecoveryContext.h
    M llvm/include/llvm/Support/Error.h
    M llvm/include/llvm/Support/ErrorHandling.h
    M llvm/include/llvm/Support/Process.h
    M llvm/include/llvm/Support/Windows/WindowsSupport.h
    M llvm/include/llvm/TableGen/Error.h
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Support/CrashRecoveryContext.cpp
    M llvm/lib/Support/Process.cpp
    M llvm/lib/Support/SmallVector.cpp
    M llvm/lib/Support/Unix/Process.inc
    M llvm/lib/Support/Unix/Unix.h
    M llvm/lib/Support/Windows/Process.inc
    M llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
    M llvm/lib/Transforms/Coroutines/Coroutines.cpp
    M llvm/tools/llc/llc.cpp
    M llvm/tools/lli/lli.cpp
    M llvm/tools/llvm-ar/llvm-ar.cpp
    M llvm/tools/llvm-cvtres/llvm-cvtres.cpp
    M llvm/tools/llvm-cxxdump/llvm-cxxdump.cpp
    M llvm/tools/llvm-ifs/ErrorCollector.cpp
    M llvm/tools/llvm-ifs/ErrorCollector.h
    M llvm/tools/llvm-lipo/llvm-lipo.cpp
    M llvm/tools/llvm-mt/llvm-mt.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.h
    M llvm/tools/llvm-profgen/ErrorHandling.h
    M llvm/tools/llvm-rc/llvm-rc.cpp
    M llvm/tools/llvm-readobj/llvm-readobj.cpp
    M llvm/tools/llvm-readobj/llvm-readobj.h
    M llvm/tools/llvm-strings/llvm-strings.cpp
    M llvm/tools/split-file/split-file.cpp

  Log Message:
  -----------
  [llvm] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]]

[[noreturn]] can be used since Oct 2016 when the minimum compiler requirement was bumped to GCC 4.8/MSVC 2015.

Note: the definition of LLVM_ATTRIBUTE_NORETURN is kept for now.




More information about the All-commits mailing list