[man] fix bogus markup

Summary:
Replace `$(u,...)` with `$(i,...)` since `$(u,...)` doesn't exist.
Cmdliner was emitting a warning at runtime:

  cmdliner error: Unknown cmdliner markup $(u,...) in "Specify classes where the destructor should be ignored when computing liveness. In other words, assignement to variables of these types (or common wrappers around these types such as $(u,unique_ptr<type>)) will count as dead stores when the variables are not read explicitly by the program. (default: $(i,[]))"

Reviewed By: mbouaziz

Differential Revision: D15045004

fbshipit-source-id: e03ece4f7
master
Jules Villard 6 years ago committed by Facebook Github Bot
parent 1e3fafb558
commit 4a91616390

@ -360,8 +360,8 @@ CLANG OPTIONS
Specify classes where the destructor should be ignored when
computing liveness. In other words, assignement to variables of
these types (or common wrappers around these types such as
$(u,unique_ptr<type>)) will count as dead stores when the
variables are not read explicitly by the program. (default: [])
unique_ptr<type>) will count as dead stores when the variables are
not read explicitly by the program. (default: [])
--ml-buckets ,-separated sequence of { all | cf | arc | narc | cpp |
unknown_origin }

@ -552,9 +552,8 @@ OPTIONS
Specify classes where the destructor should be ignored when
computing liveness. In other words, assignement to variables of
these types (or common wrappers around these types such as
$(u,unique_ptr<type>)) will count as dead stores when the
variables are not read explicitly by the program. (default: [])
See also infer-analyze(1).
unique_ptr<type>) will count as dead stores when the variables are
not read explicitly by the program. (default: []) See also infer-analyze(1).
--liveness-only
Activates: Enable --liveness and disable all other checkers

@ -552,9 +552,8 @@ OPTIONS
Specify classes where the destructor should be ignored when
computing liveness. In other words, assignement to variables of
these types (or common wrappers around these types such as
$(u,unique_ptr<type>)) will count as dead stores when the
variables are not read explicitly by the program. (default: [])
See also infer-analyze(1).
unique_ptr<type>) will count as dead stores when the variables are
not read explicitly by the program. (default: []) See also infer-analyze(1).
--liveness-only
Activates: Enable --liveness and disable all other checkers

@ -1518,7 +1518,7 @@ and liveness_dangerous_classes =
~in_help:InferCommand.[(Analyze, manual_clang)]
"Specify classes where the destructor should be ignored when computing liveness. In other \
words, assignement to variables of these types (or common wrappers around these types such \
as $(u,unique_ptr<type>)) will count as dead stores when the variables are not read \
as $(i,unique_ptr<type>)) will count as dead stores when the variables are not read \
explicitly by the program."

Loading…
Cancel
Save