diff options
-rw-r--r-- | clang/docs/ClangFormatStyleOptions.rst | 2 | ||||
-rw-r--r-- | clang/include/clang/Format/Format.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst index 2f7483435fd..18cdc54a370 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -958,7 +958,7 @@ the configuration (without a prefix: ``Auto``). .. code-block:: c++ - int f() vs. inf f() + int f() vs. int f() {} { } diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index f17a10c7f5c..add2937f3b4 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -981,7 +981,7 @@ struct FormatStyle { /// set, and the function could/should not be put on a single line (as per /// `AllowShortFunctionsOnASingleLine` and constructor formatting options). /// \code - /// int f() vs. inf f() + /// int f() vs. int f() /// {} { /// } /// \endcode |