[libcxx] r269298 - Apply D20014 - fix a missing return in a test. Fixes PR#27720
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Thu May 12 07:31:36 PDT 2016
Author: marshall
Date: Thu May 12 09:31:35 2016
New Revision: 269298
URL: http://llvm.org/viewvc/llvm-project?rev=269298&view=rev
Log:
Apply D20014 - fix a missing return in a test. Fixes PR#27720
Modified:
libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp
Modified: libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp?rev=269298&r1=269297&r2=269298&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp Thu May 12 09:31:35 2016
@@ -30,7 +30,7 @@ struct C {
};
struct D {
- static int allocator_type() {}
+ static int allocator_type() { return 0; }
};
struct E {
More information about the cfe-commits
mailing list