[llvm] d56ae70 - IR: Avoid include in FMF header

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 07:41:26 PDT 2023


Author: Matt Arsenault
Date: 2023-05-24T15:40:44+01:00
New Revision: d56ae70262e8a2247d753d991f81a12e858f15f7

URL: https://github.com/llvm/llvm-project/commit/d56ae70262e8a2247d753d991f81a12e858f15f7
DIFF: https://github.com/llvm/llvm-project/commit/d56ae70262e8a2247d753d991f81a12e858f15f7.diff

LOG: IR: Avoid include in FMF header

Added: 
    

Modified: 
    llvm/include/llvm/IR/FMF.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/FMF.h b/llvm/include/llvm/IR/FMF.h
index a49feb5a89464..99e9a24777793 100644
--- a/llvm/include/llvm/IR/FMF.h
+++ b/llvm/include/llvm/IR/FMF.h
@@ -13,9 +13,8 @@
 #ifndef LLVM_IR_FMF_H
 #define LLVM_IR_FMF_H
 
-#include "llvm/Support/raw_ostream.h"
-
 namespace llvm {
+class raw_ostream;
 
 /// Convenience struct for specifying and reasoning about fast-math flags.
 class FastMathFlags {


        


More information about the llvm-commits mailing list