Signposts.h - move unnecessary StringRef include down to Signposts.cpp
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 2 Feb 2022 15:32:19 +0000 (15:32 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 2 Feb 2022 15:36:00 +0000 (15:36 +0000)
llvm/include/llvm/Support/Signposts.h
llvm/lib/Support/Signposts.cpp

index dabbba6..37089bd 100644 (file)
 #ifndef LLVM_SUPPORT_SIGNPOSTS_H
 #define LLVM_SUPPORT_SIGNPOSTS_H
 
-#include "llvm/ADT/StringRef.h"
 #include <memory>
 
 namespace llvm {
 class SignpostEmitterImpl;
+class StringRef;
 
 /// Manages the emission of signposts into the recording method supported by
 /// the OS.
index 074dddc..b0e5900 100644 (file)
@@ -7,8 +7,9 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Support/Signposts.h"
-
+#include "llvm/ADT/StringRef.h"
 #include "llvm/Config/config.h"
+
 #if LLVM_SUPPORT_XCODE_SIGNPOSTS
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/Support/Mutex.h"