[llvm] 14171b0 - [Remarks] Fix missing include in HotnessThresholdParser for Expected (#113755)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 01:52:26 PDT 2024
Author: Thomas Fransham
Date: 2024-10-28T10:52:22+02:00
New Revision: 14171b0b13534e10ac57d13d072970616e17391b
URL: https://github.com/llvm/llvm-project/commit/14171b0b13534e10ac57d13d072970616e17391b
DIFF: https://github.com/llvm/llvm-project/commit/14171b0b13534e10ac57d13d072970616e17391b.diff
LOG: [Remarks] Fix missing include in HotnessThresholdParser for Expected (#113755)
The use of Expected<> requires llvm/Support/Error.h to be included.
Added:
Modified:
llvm/include/llvm/Remarks/HotnessThresholdParser.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Remarks/HotnessThresholdParser.h b/llvm/include/llvm/Remarks/HotnessThresholdParser.h
index 4cd0d2dff2fe64..374992de59878a 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 <optional>
namespace llvm {
More information about the llvm-commits
mailing list