From 1892553dd7ec10320313873a45d3af7a73785c12 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 23 Jun 2020 09:43:09 +0100 Subject: [PATCH] ProfileSummary.cpp - fix implicit Format.h dependency. NFC. ProfileSummary was depending on other headers (notably WithColor.h) to define format(). --- lib/IR/ProfileSummary.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/IR/ProfileSummary.cpp b/lib/IR/ProfileSummary.cpp index fbd2fa5ed8a..ac6bcd9fe3a 100644 --- a/lib/IR/ProfileSummary.cpp +++ b/lib/IR/ProfileSummary.cpp @@ -18,6 +18,7 @@ #include "llvm/IR/Metadata.h" #include "llvm/IR/Type.h" #include "llvm/Support/Casting.h" +#include "llvm/Support/Format.h" using namespace llvm;