[llvm] 7a55d98 - ProfileSummary.cpp - fix implicit Format.h dependency. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 01:48:36 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-23T09:43:40+01:00
New Revision: 7a55d984971c11daa55e9423934f98bdc9c04f2f
URL: https://github.com/llvm/llvm-project/commit/7a55d984971c11daa55e9423934f98bdc9c04f2f
DIFF: https://github.com/llvm/llvm-project/commit/7a55d984971c11daa55e9423934f98bdc9c04f2f.diff
LOG: ProfileSummary.cpp - fix implicit Format.h dependency. NFC.
ProfileSummary was depending on other headers (notably WithColor.h) to define format().
Added:
Modified:
llvm/lib/IR/ProfileSummary.cpp
Removed:
################################################################################
diff --git a/llvm/lib/IR/ProfileSummary.cpp b/llvm/lib/IR/ProfileSummary.cpp
index fbd2fa5ed8a7..ac6bcd9fe3af 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;
More information about the llvm-commits
mailing list