[llvm] f96b5e8 - OptBisect.cpp - remove unused include. NFCI.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 02:42:11 PDT 2021


Author: Simon Pilgrim
Date: 2021-06-08T10:41:03+01:00
New Revision: f96b5e801d67dac4fb1b94566aa4be3a3a5756d5

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

LOG: OptBisect.cpp - remove unused include. NFCI.

StringRef.h is included in OptBisect.h and we have no uses of std::string.

Added: 
    

Modified: 
    llvm/lib/IR/OptBisect.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/IR/OptBisect.cpp b/llvm/lib/IR/OptBisect.cpp
index dc85e1316d481..2cf2298e0005f 100644
--- a/llvm/lib/IR/OptBisect.cpp
+++ b/llvm/lib/IR/OptBisect.cpp
@@ -13,13 +13,11 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/IR/OptBisect.h"
-#include "llvm/ADT/StringRef.h"
 #include "llvm/Pass.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/raw_ostream.h"
 #include <cassert>
 #include <limits>
-#include <string>
 
 using namespace llvm;
 


        


More information about the llvm-commits mailing list