diff --git a/llvm/tools/llvm-remarkutil/RemarkUtil.cpp b/llvm/tools/llvm-remarkutil/RemarkUtil.cpp index cc6edc7f2b6c1a..09ba70c633cf69 100644 --- a/llvm/tools/llvm-remarkutil/RemarkUtil.cpp +++ b/llvm/tools/llvm-remarkutil/RemarkUtil.cpp @@ -80,7 +80,7 @@ getInputMemoryBuffer(StringRef InputFileName) { /// \p [out] StrTab - A string table populated for later remark serialization. /// \returns Error::success() if all remarks were successfully parsed, and an /// Error otherwise. -Error tryParseRemarksFromInputFile( +static Error tryParseRemarksFromInputFile( StringRef InputFileName, Format InputFormat, std::vector> &ParsedRemarks, StringTable &StrTab) { auto MaybeBuf = getInputMemoryBuffer(InputFileName);