Mangle.cpp - fix implicit Format.h dependency. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 23 Jun 2020 12:59:05 +0000 (13:59 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 23 Jun 2020 13:42:30 +0000 (14:42 +0100)
ProfileSummary was depending on other headers (notably via WithColor.h) to define format().

clang/lib/AST/Mangle.cpp

index 53f1a48..a732325 100644 (file)
@@ -25,6 +25,7 @@
 #include "llvm/IR/DataLayout.h"
 #include "llvm/IR/Mangler.h"
 #include "llvm/Support/ErrorHandling.h"
+#include "llvm/Support/Format.h"
 #include "llvm/Support/raw_ostream.h"
 
 using namespace clang;