[llvm] bb244ea - [AnnotationRemarks] Remove unneeded Function.h include (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 15 14:09:53 PDT 2021
Author: Florian Hahn
Date: 2021-03-15T21:09:35Z
New Revision: bb244ea2a8bf94ee3324d6a81bf5cf2e82721ac9
URL: https://github.com/llvm/llvm-project/commit/bb244ea2a8bf94ee3324d6a81bf5cf2e82721ac9
DIFF: https://github.com/llvm/llvm-project/commit/bb244ea2a8bf94ee3324d6a81bf5cf2e82721ac9.diff
LOG: [AnnotationRemarks] Remove unneeded Function.h include (NFC).
Added:
Modified:
llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h b/llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h
index dd7629434141..d76b55babc74 100644
--- a/llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h
+++ b/llvm/include/llvm/Transforms/Scalar/AnnotationRemarks.h
@@ -14,10 +14,12 @@
#ifndef LLVM_TRANSFORMS_SCALAR_ANNOTATIONREMARKS_H
#define LLVM_TRANSFORMS_SCALAR_ANNOTATIONREMARKS_H
-#include "llvm/IR/Function.h"
#include "llvm/IR/PassManager.h"
namespace llvm {
+
+class Function;
+
struct AnnotationRemarksPass : public PassInfoMixin<AnnotationRemarksPass> {
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
};
More information about the llvm-commits
mailing list