summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-01-26 03:03:49 +0000
committerNico Weber <nicolasweber@gmx.de>2015-01-26 03:03:49 +0000
commitfe0053eb4291f3fc5c5f9468c2e633fd7dde6c32 (patch)
tree5eaf7f123c4b2d281e478516fecf2c6d148a009b
parent99e05d02cb731de923a6ac8d6408a05e69ccc3be (diff)
downloadbcm5719-llvm-fe0053eb4291f3fc5c5f9468c2e633fd7dde6c32.tar.gz
bcm5719-llvm-fe0053eb4291f3fc5c5f9468c2e633fd7dde6c32.zip
Reword comment.
llvm-svn: 227069
-rw-r--r--clang/test/CodeGenCXX/apple-kext-indirect-call.cpp7
-rw-r--r--clang/test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp7
2 files changed, 6 insertions, 8 deletions
diff --git a/clang/test/CodeGenCXX/apple-kext-indirect-call.cpp b/clang/test/CodeGenCXX/apple-kext-indirect-call.cpp
index 82822d4142a..2717a9d61bc 100644
--- a/clang/test/CodeGenCXX/apple-kext-indirect-call.cpp
+++ b/clang/test/CodeGenCXX/apple-kext-indirect-call.cpp
@@ -28,10 +28,9 @@ struct SubTempl : public Templ<T> {
void f(SubTempl<int>* t) {
// Qualified calls go through the (qualified) vtable in apple-kext mode.
- // Since t's this pointer points to SubTempl's vtable, this call needs
- // to load Templ<int>'s vtable, so that needs to be defined in this TU,
- // which in turn means that Templ<int>::g needs to be instantiated in this TU,
- // for it's referenced by the vtable.
+ // Since t's this pointer points to SubTempl's vtable, the call needs
+ // to load Templ<int>'s vtable. Hence, Templ<int>::g needs to be
+ // instantiated in this TU, for it's referenced by the vtable.
// (This happens only in apple-kext mode; elsewhere virtual calls can always
// use the vtable pointer off this instead of having to load the vtable
// symbol.)
diff --git a/clang/test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp b/clang/test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp
index 635878e1605..e5d85c1eab3 100644
--- a/clang/test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp
+++ b/clang/test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp
@@ -33,10 +33,9 @@ struct SubTempl : public Templ<T> {
void f(SubTempl<int>* t) {
// Qualified calls go through the (qualified) vtable in apple-kext mode.
- // Since t's this pointer points to SubTempl's vtable, this call needs
- // to load Templ<int>'s vtable, so that needs to be defined in this TU,
- // which in turn means that Templ<int>::g needs to be instantiated in this TU,
- // for it's referenced by the vtable.
+ // Since t's this pointer points to SubTempl's vtable, the call needs
+ // to load Templ<int>'s vtable. Hence, Templ<int>::g needs to be
+ // instantiated in this TU, for it's referenced by the vtable.
// (This happens only in apple-kext mode; elsewhere virtual calls can always
// use the vtable pointer off this instead of having to load the vtable
// symbol.)
OpenPOWER on IntegriCloud