projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0acd22b
)
ProfileSummary.cpp - fix implicit Format.h dependency. NFC.
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Tue, 23 Jun 2020 08:43:09 +0000
(09:43 +0100)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/llvm/lib/IR/ProfileSummary.cpp
b/llvm/lib/IR/ProfileSummary.cpp
index
fbd2fa5
..
ac6bcd9
100644
(file)
--- 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;