[llvm] 80c47ad - [SandboxIR][Bench] Fix missing include

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 8 12:35:10 PDT 2024


Author: Justin Bogner
Date: 2024-09-08T12:34:10-07:00
New Revision: 80c47ad3aec9d7f22e1b1bdc88960a91b66f89f1

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

LOG: [SandboxIR][Bench] Fix missing include

In 362da640dd18 "[SandboxIR][Bench] Test RAUW (#107440)" we started
using std::stringstream, but didn't include `<sstream>` for the
definition. This is resulting in a build failure on windows.

Added: 
    

Modified: 
    llvm/benchmarks/SandboxIRBench.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/benchmarks/SandboxIRBench.cpp b/llvm/benchmarks/SandboxIRBench.cpp
index 1a7f808af21f2b..c646ba6290daff 100644
--- a/llvm/benchmarks/SandboxIRBench.cpp
+++ b/llvm/benchmarks/SandboxIRBench.cpp
@@ -21,6 +21,7 @@
 #include "llvm/SandboxIR/SandboxIR.h"
 #include "llvm/Support/SourceMgr.h"
 #include <memory>
+#include <sstream>
 
 using namespace llvm;
 


        


More information about the llvm-commits mailing list