Avoids warnings in -asserts builds.
ASTContext.cpp:4098:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
}
^
return SingletonId;
#include "clang/Basic/WebAssemblyReferenceTypes.def"
}
- assert(false &&
- "shouldn't try to generate type externref outside WebAssembly target");
+ llvm_unreachable(
+ "shouldn't try to generate type externref outside WebAssembly target");
}
/// getScalableVectorType - Return the unique reference to a scalable vector