[llvm] 1c6df71 - [CodeGen] CodeGenPassBuilder.h - remove unnecessary <string> include. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 03:23:49 PDT 2021


Author: Simon Pilgrim
Date: 2021-04-20T11:21:39+01:00
New Revision: 1c6df71a9b532ca6340f7687a2d4189515bfce0e

URL: https://github.com/llvm/llvm-project/commit/1c6df71a9b532ca6340f7687a2d4189515bfce0e
DIFF: https://github.com/llvm/llvm-project/commit/1c6df71a9b532ca6340f7687a2d4189515bfce0e.diff

LOG: [CodeGen] CodeGenPassBuilder.h - remove unnecessary <string> include. NFCI.

We only use StringRef so include that.

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/CodeGenPassBuilder.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
index 1553dd17f108..d8fb7841d478 100644
--- a/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
+++ b/llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
@@ -55,7 +55,6 @@
 #include "llvm/Transforms/Utils/EntryExitInstrumenter.h"
 #include "llvm/Transforms/Utils/LowerInvoke.h"
 #include <cassert>
-#include <string>
 #include <type_traits>
 #include <utility>
 


        


More information about the llvm-commits mailing list