diff --git a/clang-tools-extra/docs/clang-tidy/checks/readability-qualified-auto.rst b/clang-tools-extra/docs/clang-tidy/checks/readability-qualified-auto.rst index 351b333b6dce7f..413640fb7ca736 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/readability-qualified-auto.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/readability-qualified-auto.rst @@ -36,19 +36,19 @@ Note ``const`` ``volatile`` qualified types will retain their ``const`` and .. code-block:: c++ - const auto Foo = cast(Baz1); - const auto Bar = cast(Baz2); - volatile auto FooBar = cast(Baz3); - auto BarFoo = cast(Baz4); + const auto Foo = cast(Baz1); + const auto Bar = cast(Baz2); + volatile auto FooBar = cast(Baz3); + auto BarFoo = cast(Baz4); Would be transformed into: .. code-block:: c++ - auto *const Foo = cast(Baz1); - const auto *const Bar = cast(Baz2); - auto *volatile FooBar = cast(Baz3); - auto *BarFoo = cast(Baz4); + auto *const Foo = cast(Baz1); + const auto *const Bar = cast(Baz2); + auto *volatile FooBar = cast(Baz3); + auto *BarFoo = cast(Baz4); Options ------- @@ -65,7 +65,7 @@ Options auto *Foo2 = cast(Bar2); auto &Foo3 = cast(Bar3); - If AddConstToQualified is set to `0`, it will be transformed into: +If AddConstToQualified is set to `0`, it will be transformed into: .. code-block:: c++ @@ -73,7 +73,7 @@ Options auto *Foo2 = cast(Bar2); auto &Foo3 = cast(Bar3); - Otherwise it will be transformed into: +Otherwise it will be transformed into: .. code-block:: c++ @@ -81,4 +81,4 @@ Options const auto *Foo2 = cast(Bar2); const auto &Foo3 = cast(Bar3); - Note in the LLVM alias, the default value is `0`. +Note in the LLVM alias, the default value is `0`.