[llvm] b5b4660 - OptimizationRemarkEmitter.h - reduce unnecessary Function.h include to forward declaration. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 04:41:01 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-22T12:35:32+01:00
New Revision: b5b46601c0177ea214e7f95d5090f764c8f6e30a
URL: https://github.com/llvm/llvm-project/commit/b5b46601c0177ea214e7f95d5090f764c8f6e30a
DIFF: https://github.com/llvm/llvm-project/commit/b5b46601c0177ea214e7f95d5090f764c8f6e30a.diff
LOG: OptimizationRemarkEmitter.h - reduce unnecessary Function.h include to forward declaration. NFC.
Added:
Modified:
llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h b/llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
index b89ea496cd8a..ab97d5b8504e 100644
--- a/llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
+++ b/llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
@@ -17,11 +17,11 @@
#include "llvm/ADT/Optional.h"
#include "llvm/Analysis/BlockFrequencyInfo.h"
#include "llvm/IR/DiagnosticInfo.h"
-#include "llvm/IR/Function.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
namespace llvm {
+class Function;
class Value;
/// The optimization diagnostic interface.
More information about the llvm-commits
mailing list