[polly] r256649 - ScopDetection: Add include to make complete type of llvm::Region available

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 30 12:11:44 PST 2015


Author: grosser
Date: Wed Dec 30 14:11:43 2015
New Revision: 256649

URL: http://llvm.org/viewvc/llvm-project?rev=256649&view=rev
Log:
ScopDetection: Add include to make complete type of llvm::Region available

This is necessary for the recent ptr-traits work in LLVM, which now requires
complete type definitions.

Modified:
    polly/trunk/include/polly/ScopDetection.h

Modified: polly/trunk/include/polly/ScopDetection.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopDetection.h?rev=256649&r1=256648&r2=256649&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopDetection.h (original)
+++ polly/trunk/include/polly/ScopDetection.h Wed Dec 30 14:11:43 2015
@@ -52,6 +52,7 @@
 #include "llvm/ADT/SetVector.h"
 #include "llvm/Analysis/AliasAnalysis.h"
 #include "llvm/Analysis/AliasSetTracker.h"
+#include "llvm/Analysis/RegionInfo.h"
 #include "llvm/Pass.h"
 #include <map>
 #include <memory>
@@ -60,8 +61,6 @@
 using namespace llvm;
 
 namespace llvm {
-class RegionInfo;
-class Region;
 class LoopInfo;
 class Loop;
 class ScalarEvolution;




More information about the llvm-commits mailing list