Skip to content

Commit 42a7c42

Browse files
authored
[clang] Add std::span to the default gsl pointer annotation list. (#99622)
1 parent 008df3c commit 42a7c42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Sema/SemaAttr.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ void Sema::inferGslOwnerPointerAttribute(CXXRecordDecl *Record) {
193193
"basic_string_view",
194194
"reference_wrapper",
195195
"regex_iterator",
196+
"span",
196197
};
197198

198199
if (!Record->getIdentifier())

0 commit comments

Comments
 (0)