[polly] a7f33d7 - [Polly] Explicitly include all std headers
    Krzysztof Parzyszek via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr 21 10:54:01 PDT 2021
    
    
  
Author: Krzysztof Parzyszek
Date: 2021-04-21T12:52:11-05:00
New Revision: a7f33d720b74a92031958fce0e209794d296393d
URL: https://github.com/llvm/llvm-project/commit/a7f33d720b74a92031958fce0e209794d296393d
DIFF: https://github.com/llvm/llvm-project/commit/a7f33d720b74a92031958fce0e209794d296393d.diff
LOG: [Polly] Explicitly include all std headers
There were some recent header changes, and now some std classes
are no longer available in ScopDetection.cpp with the pre-existing
includes.
Added: 
    
Modified: 
    polly/lib/Analysis/ScopDetection.cpp
Removed: 
    
################################################################################
diff  --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index c358f76c753a0..2d7c1c3900f56 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -78,7 +78,13 @@
 #include "llvm/Pass.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/raw_ostream.h"
+#include <algorithm>
 #include <cassert>
+#include <memory>
+#include <stack>
+#include <string>
+#include <utility>
+#include <vector>
 
 using namespace llvm;
 using namespace polly;
        
    
    
More information about the llvm-commits
mailing list