forked from OSchip/llvm-project
[mlir] Replace LLVM_ATTRIBUTE_NORETURN with C++11 [[noreturn]]
[[noreturn]] can be used since 2016 when the minimum compiler requirement was bumped to GCC 4.8/MSVC 2015.
This commit is contained in:
parent
323b9bf862
commit
f2026f5d6e
|
@ -23,7 +23,7 @@ using namespace mlir;
|
|||
|
||||
/// Reports that the given type is missing the data layout information and
|
||||
/// exits.
|
||||
static LLVM_ATTRIBUTE_NORETURN void reportMissingDataLayout(Type type) {
|
||||
[[noreturn]] static void reportMissingDataLayout(Type type) {
|
||||
std::string message;
|
||||
llvm::raw_string_ostream os(message);
|
||||
os << "neither the scoping op nor the type class provide data layout "
|
||||
|
|
Loading…
Reference in New Issue