[llvm] 0dd42e5 - PassInstrumentation.h - reduce TypeName.h include to StringRef forward declaration. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun May 10 06:22:21 PDT 2020
Author: Simon Pilgrim
Date: 2020-05-10T14:22:02+01:00
New Revision: 0dd42e5fd32fb609a9333d73619c905d1a5e6cd4
URL: https://github.com/llvm/llvm-project/commit/0dd42e5fd32fb609a9333d73619c905d1a5e6cd4
DIFF: https://github.com/llvm/llvm-project/commit/0dd42e5fd32fb609a9333d73619c905d1a5e6cd4.diff
LOG: PassInstrumentation.h - reduce TypeName.h include to StringRef forward declaration. NFC.
Added:
Modified:
llvm/include/llvm/IR/PassInstrumentation.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/PassInstrumentation.h b/llvm/include/llvm/IR/PassInstrumentation.h
index f8a1196871cf..bcc434548e67 100644
--- a/llvm/include/llvm/IR/PassInstrumentation.h
+++ b/llvm/include/llvm/IR/PassInstrumentation.h
@@ -56,12 +56,12 @@
#include "llvm/ADT/Any.h"
#include "llvm/ADT/FunctionExtras.h"
#include "llvm/ADT/SmallVector.h"
-#include "llvm/Support/TypeName.h"
#include <type_traits>
namespace llvm {
class PreservedAnalyses;
+class StringRef;
/// This class manages callbacks registration, as well as provides a way for
/// PassInstrumentation to pass control to the registered callbacks.
More information about the llvm-commits
mailing list