[llvm] 228207f - [IR] GlobalObject.h - remove unused <string> include. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 19 04:56:27 PDT 2021


Author: Simon Pilgrim
Date: 2021-04-19T12:56:10+01:00
New Revision: 228207fe94ff0dd514d90f594db6a0a057f2a7ae

URL: https://github.com/llvm/llvm-project/commit/228207fe94ff0dd514d90f594db6a0a057f2a7ae
DIFF: https://github.com/llvm/llvm-project/commit/228207fe94ff0dd514d90f594db6a0a057f2a7ae.diff

LOG: [IR] GlobalObject.h - remove unused <string> include. NFCI.

All string usage is hidden behind StringRefs - so we don't need an explicit <string> include.

Added: 
    

Modified: 
    llvm/include/llvm/IR/GlobalObject.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/IR/GlobalObject.h b/llvm/include/llvm/IR/GlobalObject.h
index d01abdc3b625..5e8dbafbe6b0 100644
--- a/llvm/include/llvm/IR/GlobalObject.h
+++ b/llvm/include/llvm/IR/GlobalObject.h
@@ -18,7 +18,6 @@
 #include "llvm/IR/GlobalValue.h"
 #include "llvm/IR/Value.h"
 #include "llvm/Support/Alignment.h"
-#include <string>
 #include <utility>
 
 namespace llvm {


        


More information about the llvm-commits mailing list