Skip to content

Commit

Permalink
NativeFormatting.h - reduce raw_ostream.h include to forward declarat…
Browse files Browse the repository at this point in the history
…ion. NFC.
  • Loading branch information
RKSimon committed May 9, 2020
1 parent 31fd12a commit 65399cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions llvm/include/llvm/Support/NativeFormatting.h
Expand Up @@ -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,
Expand Down
3 changes: 1 addition & 2 deletions llvm/lib/Support/NativeFormatting.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 65399cd

Please sign in to comment.