summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/SemaInit.cpp')
-rw-r--r--clang/lib/Sema/SemaInit.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Sema/SemaInit.cpp b/clang/lib/Sema/SemaInit.cpp
index 57277f6e829..c2f14229d8d 100644
--- a/clang/lib/Sema/SemaInit.cpp
+++ b/clang/lib/Sema/SemaInit.cpp
@@ -4881,13 +4881,6 @@ static void TryDefaultInitialization(Sema &S,
return;
}
- // As an extension, and to fix Core issue 1013, zero initialize nullptr_t.
- // Since there is only 1 valid value of nullptr_t, we can just use that.
- if (DestType->isNullPtrType()) {
- Sequence.AddZeroInitializationStep(Entity.getType());
- return;
- }
-
// - otherwise, no initialization is performed.
// If a program calls for the default initialization of an object of
OpenPOWER on IntegriCloud