Skip to content

Commit 8b916a6

Browse files
Ignore lifetimebound warnings in libcxx test code
1 parent 622e398 commit 8b916a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libcxx/test/support/test_macros.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#ifndef SUPPORT_TEST_MACROS_HPP
1111
#define SUPPORT_TEST_MACROS_HPP
1212

13+
#pragma clang diagnostic warning "-Wdangling"
14+
1315
#ifdef __has_include
1416
# if __has_include(<version>)
1517
# include <version>

0 commit comments

Comments
 (0)