summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/discrim-union.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2012-09-27 10:16:10 +0000
committerSylvestre Ledru <sylvestre@debian.org>2012-09-27 10:16:10 +0000
commit33b5baf189bc2d866d69c1c81908d2b37dce79ad (patch)
tree0cc0210d5e5cb11c0164c7e3f40e7d6cfc2d61dc /clang/test/SemaCXX/discrim-union.cpp
parent91ce36c98668d1f3be0fe4a3b92aba86556c949f (diff)
downloadbcm5719-llvm-33b5baf189bc2d866d69c1c81908d2b37dce79ad.tar.gz
bcm5719-llvm-33b5baf189bc2d866d69c1c81908d2b37dce79ad.zip
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766
llvm-svn: 164769
Diffstat (limited to 'clang/test/SemaCXX/discrim-union.cpp')
-rw-r--r--clang/test/SemaCXX/discrim-union.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/discrim-union.cpp b/clang/test/SemaCXX/discrim-union.cpp
index 43629f316b2..15c9a225ed9 100644
--- a/clang/test/SemaCXX/discrim-union.cpp
+++ b/clang/test/SemaCXX/discrim-union.cpp
@@ -76,7 +76,7 @@ public:
impl(detail::select<impl_t::index(detail::type<U>())>(), move(t.value)) {}
// Destruction disabled to allow use in a constant expression.
- // FIXME: declare a destructor if any element has a nontrivial destructor
+ // FIXME: declare a destructor iff any element has a nontrivial destructor
//~either() { impl.destroy(elem); }
constexpr unsigned index() noexcept { return elem; }
OpenPOWER on IntegriCloud