ProfileSummary.cpp - fix implicit Format.h dependency. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 23 Jun 2020 08:43:09 +0000 (09:43 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 23 Jun 2020 08:43:40 +0000 (09:43 +0100)
ProfileSummary was depending on other headers (notably WithColor.h) to define format().

llvm/lib/IR/ProfileSummary.cpp

index fbd2fa5..ac6bcd9 100644 (file)
@@ -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;