From fa7187c502cc9dbd1a379aa98efd22e7750c0487 Mon Sep 17 00:00:00 2001 From: Thomas Fransham Date: Thu, 17 Oct 2024 20:50:40 +0100 Subject: [PATCH] [Remarks] Fix missing include in HotnessThresholdParser for Expected The use of Expected<> requires llvm/Support/Error.h to be included. --- llvm/include/llvm/Remarks/HotnessThresholdParser.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/Remarks/HotnessThresholdParser.h b/llvm/include/llvm/Remarks/HotnessThresholdParser.h index 4cd0d2dff2fe6..374992de59878 100644 --- a/llvm/include/llvm/Remarks/HotnessThresholdParser.h +++ b/llvm/include/llvm/Remarks/HotnessThresholdParser.h @@ -16,6 +16,7 @@ #define LLVM_REMARKS_HOTNESSTHRESHOLDPARSER_H #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Error.h" #include namespace llvm {