Skip to content

Commit 854b1af

Browse files
committed
Try to fix ambiguities with C++17 headers in unittest
llvm-svn: 345689
1 parent cb3628b commit 854b1af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/unittests/ADT/STLExtrasTest.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,9 @@ TEST(STLExtrasTest, ADLTest) {
365365
}
366366

367367
TEST(STLExtrasTest, EmptyTest) {
368+
// Try to avoid ambiguities with C++17 headers.
369+
using llvm::empty;
370+
368371
std::vector<void*> V;
369372
EXPECT_TRUE(empty(V));
370373
V.push_back(nullptr);

0 commit comments

Comments
 (0)