Skip to content

Commit e367c00

Browse files
committed
FPEnv.h - reduce includes to forward declarations. NFC.
Ensure FPEnv.cpp includes FPEnv.h first to check for hidden dependencies.
1 parent bc7eb90 commit e367c00

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

llvm/include/llvm/IR/FPEnv.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@
1515
#ifndef LLVM_IR_FLOATINGPOINT_H
1616
#define LLVM_IR_FLOATINGPOINT_H
1717

18-
#include "llvm/ADT/APFloat.h"
18+
#include "llvm/ADT/FloatingPointMode.h"
1919
#include "llvm/ADT/Optional.h"
20-
#include "llvm/ADT/StringRef.h"
21-
#include <stdint.h>
2220

2321
namespace llvm {
22+
class StringRef;
2423

2524
namespace fp {
2625

llvm/lib/IR/FPEnv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
#include "llvm/ADT/StringSwitch.h"
1615
#include "llvm/IR/FPEnv.h"
16+
#include "llvm/ADT/StringSwitch.h"
1717

1818
namespace llvm {
1919

0 commit comments

Comments
 (0)