Skip to content

Commit 5c657c3

Browse files
authored
Added configuration file for Microsoft.GSL library
1 parent 8e5682d commit 5c657c3

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

cfg/microsoft_gsl.cfg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0"?>
2+
<def>
3+
<define name="Expects(x)" value=""/>
4+
<define name="Ensures(x)" value=""/>
5+
<define name="GSL_SUPPRESS(x)" value=""/>
6+
<podtype name="gsl::index" sign="s"/>
7+
<container id="gslSpan" startPattern="gsl :: span" inherits="stdSpan">
8+
</container>
9+
<smart-pointer class-name="gsl::owner"/>
10+
<smart-pointer class-name="gsl::not_null"/>
11+
<!-- non-existing in C++ Core Guidelines -->
12+
<smart-pointer class-name="gsl::strict_not_null"/>
13+
<!-- Deprecated in GSL -->
14+
<podtype name="gsl::byte" sign="u" size="1"/>
15+
<smart-pointer class-name="gsl::unique_ptr"/>
16+
<smart-pointer class-name="gsl::shared_ptr"/>
17+
</def>

0 commit comments

Comments
 (0)