Skip to content

Commit e150778

Browse files
hokeinyuxuanchen1997
authored andcommitted
[clang] Add std::span to the default gsl pointer annotation list. (#99622)
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60251408
1 parent 75409cc commit e150778

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)