Add namespace specifier before nullptr_t
authorTobias Grosser <tobias@grosser.es>
Fri, 9 Sep 2016 12:31:38 +0000 (12:31 +0000)
committerTobias Grosser <tobias@grosser.es>
Fri, 9 Sep 2016 12:31:38 +0000 (12:31 +0000)
This fixes the following compile time errors:

  error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'

llvm-svn: 281039

polly/include/polly/Support/GICHelper.h

index f9a80c3..b968ece 100644 (file)
@@ -253,7 +253,7 @@ private:
 
 public:
   IslPtr() : Obj(nullptr) {}
-  /* implicit */ IslPtr(nullptr_t That) : IslPtr() {}
+  /* implicit */ IslPtr(std::nullptr_t That) : IslPtr() {}
 
   /* implicit */ IslPtr(const ThisTy &That) : IslPtr(That.Obj, false) {}
   /* implicit */ IslPtr(ThisTy &&That) : IslPtr(That.Obj, true) {
@@ -320,7 +320,7 @@ private:
 
 public:
   NonowningIslPtr() : Obj(nullptr) {}
-  /* implicit */ NonowningIslPtr(nullptr_t That) : NonowningIslPtr() {}
+  /* implicit */ NonowningIslPtr(std::nullptr_t That) : NonowningIslPtr() {}
 
   /* implicit */ NonowningIslPtr(const IslPtr<T> &That)
       : NonowningIslPtr(That.keep()) {}