Remove forward declarations of llvm::Any
authorKazu Hirata <kazu@google.com>
Wed, 12 Apr 2023 06:52:05 +0000 (23:52 -0700)
committerKazu Hirata <kazu@google.com>
Wed, 12 Apr 2023 06:52:05 +0000 (23:52 -0700)
This patch removes forward declarations of llvm::Any as they are not
used.  Removing them gets us a bit closer to the world where we use
std::any instead of llvm::Any because we won't forward-declare std::
classes.

llvm/include/llvm/Transforms/IPO/SampleProfileProbe.h
mlir/include/mlir/Pass/PassManager.h

index ebac3d6..bd511f7 100644 (file)
@@ -22,7 +22,6 @@
 #include <unordered_map>
 
 namespace llvm {
-class Any;
 class BasicBlock;
 class Function;
 class Instruction;
index c7cf37a..75fe152 100644 (file)
 #include <vector>
 #include <optional>
 
-namespace llvm {
-class Any;
-} // namespace llvm
-
 namespace mlir {
 class AnalysisManager;
 class MLIRContext;