[docs] Fix documentation for bugprone-dangling-handle

string_view isn't experimental anymore.
This check has always handled both forms.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D102313
This commit is contained in:
Malcolm Parsons 2021-05-12 17:11:19 +01:00
parent 33f908c428
commit 5389a05836
1 changed files with 3 additions and 3 deletions

View File

@ -3,8 +3,7 @@
bugprone-dangling-handle
========================
Detect dangling references in value handles like
``std::experimental::string_view``.
Detect dangling references in value handles like ``std::string_view``.
These dangling references can be a result of constructing handles from temporary
values, where the temporary is destroyed soon after the handle is created.
@ -35,4 +34,5 @@ Options
.. option:: HandleClasses
A semicolon-separated list of class names that should be treated as handles.
By default only ``std::experimental::basic_string_view`` is considered.
By default only ``std::basic_string_view`` and
``std::experimental::basic_string_view`` are considered.