summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-09-09 12:31:38 +0000
committerTobias Grosser <tobias@grosser.es>2016-09-09 12:31:38 +0000
commita6987a4dddc61168fbccba7493c176d35689a004 (patch)
treee113c410a93676d9620f1d38b15aea14db5076d8
parentd2203843766732ee89721720f283d34340fa0e45 (diff)
downloadbcm5719-llvm-a6987a4dddc61168fbccba7493c176d35689a004.tar.gz
bcm5719-llvm-a6987a4dddc61168fbccba7493c176d35689a004.zip
Add namespace specifier before nullptr_t
This fixes the following compile time errors: error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t' llvm-svn: 281039
-rw-r--r--polly/include/polly/Support/GICHelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/include/polly/Support/GICHelper.h b/polly/include/polly/Support/GICHelper.h
index f9a80c3da9b..b968ece659f 100644
--- a/polly/include/polly/Support/GICHelper.h
+++ b/polly/include/polly/Support/GICHelper.h
@@ -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()) {}
OpenPOWER on IntegriCloud