NativeFormatting.h - reduce raw_ostream.h include to forward declaration. NFC.

This commit is contained in:
Simon Pilgrim 2020-05-09 13:31:39 +01:00
parent 31fd12aa09
commit 65399cde4b
2 changed files with 2 additions and 4 deletions

View File

@ -10,11 +10,10 @@
#define LLVM_SUPPORT_NATIVE_FORMATTING_H
#include "llvm/ADT/Optional.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
namespace llvm {
class raw_ostream;
enum class FloatStyle { Exponent, ExponentUpper, Fixed, Percent };
enum class IntegerStyle {
Integer,

View File

@ -7,12 +7,11 @@
//===----------------------------------------------------------------------===//
#include "llvm/Support/NativeFormatting.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <float.h>
using namespace llvm;