We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d40574 commit 94384aeCopy full SHA for 94384ae
llvm/include/llvm/IR/RuntimeLibcalls.h
@@ -81,9 +81,9 @@ struct RuntimeLibcallsInfo {
81
return LibcallCallingConvs[Call];
82
}
83
84
- iterator_range<const char **> getLibcallNames() {
85
- return llvm::make_range(LibcallRoutineNames,
86
- LibcallRoutineNames + RTLIB::UNKNOWN_LIBCALL);
+ ArrayRef<const char *> getLibcallNames() const {
+ // Trim UNKNOWN_LIBCALL from the end
+ return ArrayRef(LibcallRoutineNames).drop_back();
87
88
89
private:
0 commit comments