summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/cxx-irgen.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-08-01 01:56:39 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-08-01 01:56:39 +0000
commit46bb581a03af0fb5710e37ce24ff09e596b94588 (patch)
treeb3d20f5367bb4eb1307127ce591f2cab080c7cdc /clang/test/Modules/cxx-irgen.cpp
parent264da422b95a6c57abbee9cb5a600c4de68ebda8 (diff)
downloadbcm5719-llvm-46bb581a03af0fb5710e37ce24ff09e596b94588.tar.gz
bcm5719-llvm-46bb581a03af0fb5710e37ce24ff09e596b94588.zip
[modules] Remove IRGen special case for emitting implicit special members if
they're somehow missing a body. Looks like this was left behind when the loop was generalized, and it's not been problematic before because without modules, a used, implicit special member function declaration must be a definition. This was resulting in us trying to emit a constructor declaration rather than a definition, and producing a constructor missing its member initializers. llvm-svn: 214473
Diffstat (limited to 'clang/test/Modules/cxx-irgen.cpp')
-rw-r--r--clang/test/Modules/cxx-irgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/cxx-irgen.cpp b/clang/test/Modules/cxx-irgen.cpp
index eea6b316e3f..9fb38cedacf 100644
--- a/clang/test/Modules/cxx-irgen.cpp
+++ b/clang/test/Modules/cxx-irgen.cpp
@@ -30,7 +30,7 @@ namespace ImplicitSpecialMembers {
// CHECK-LABEL: define {{.*}} @_ZN22ImplicitSpecialMembers1BC2EOS0_(
// CHECK: call {{.*}} @_ZN22ImplicitSpecialMembers1AC1ERKS0_(
// CHECK-LABEL: define {{.*}} @_ZN22ImplicitSpecialMembers1BC2ERKS0_(
- // FIXME CHECK-NOT: call {{.*}} @_ZN22ImplicitSpecialMembers1AC1ERKS0_(
+ // CHECK: call {{.*}} @_ZN22ImplicitSpecialMembers1AC1ERKS0_(
extern B b1;
B b2(b1);
OpenPOWER on IntegriCloud