[llvm] 85de54f - VirtualFileSystem.h - reduce Twine.h include to forward declaration. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri May 29 03:41:42 PDT 2020
Author: Simon Pilgrim
Date: 2020-05-29T11:40:56+01:00
New Revision: 85de54f8066aa73ddee14868b089d191d8b73280
URL: https://github.com/llvm/llvm-project/commit/85de54f8066aa73ddee14868b089d191d8b73280
DIFF: https://github.com/llvm/llvm-project/commit/85de54f8066aa73ddee14868b089d191d8b73280.diff
LOG: VirtualFileSystem.h - reduce Twine.h include to forward declaration. NFC.
Added:
Modified:
llvm/include/llvm/Support/VirtualFileSystem.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/VirtualFileSystem.h b/llvm/include/llvm/Support/VirtualFileSystem.h
index 28fd3298e47e..af09c21085c5 100644
--- a/llvm/include/llvm/Support/VirtualFileSystem.h
+++ b/llvm/include/llvm/Support/VirtualFileSystem.h
@@ -19,7 +19,6 @@
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/Twine.h"
#include "llvm/Support/Chrono.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/FileSystem.h"
@@ -38,6 +37,7 @@
namespace llvm {
class MemoryBuffer;
+class Twine;
namespace vfs {
More information about the llvm-commits
mailing list