commit | 7a55d984971c11daa55e9423934f98bdc9c04f2f | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Jun 23 09:43:09 2020 +0100 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Jun 23 09:43:40 2020 +0100 |
tree | 033c9759ff0b997d30f3de5e536936f7808453d7 | |
parent | 0acd22b8fb31cc7d1d38a103d881304964df537f [diff] [blame] |
ProfileSummary.cpp - fix implicit Format.h dependency. NFC. ProfileSummary was depending on other headers (notably WithColor.h) to define format().
diff --git a/llvm/lib/IR/ProfileSummary.cpp b/llvm/lib/IR/ProfileSummary.cpp index fbd2fa5..ac6bcd9 100644 --- a/llvm/lib/IR/ProfileSummary.cpp +++ b/llvm/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;