Skip to content

Commit 5d1378d

Browse files
committed
Add a %use_no_opaque_pointers subsitution for tests
This substitution can be used to run tests under the -no-opaque-pointers option.
1 parent 654f21f commit 5d1378d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/lit.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2808,3 +2808,4 @@ if kIsWindows and visual_studio_version:
28082808
config.available_features.add('MSVC_VER=%s' % visual_studio_version)
28092809

28102810
lit_config.note("Available features: " + ", ".join(sorted(config.available_features)))
2811+
config.substitutions.append( ('%use_no_opaque_pointers', '-Xcc -Xclang -Xcc -no-opaque-pointers' ) )

0 commit comments

Comments
 (0)