Author: Piotr Zegar
Date: 2023-04-22T10:54:51Z
New Revision: 1d90376a48406336ed73d3fc3f8f6aa90f90cb0f

URL: 
https://github.com/llvm/llvm-project/commit/1d90376a48406336ed73d3fc3f8f6aa90f90cb0f
DIFF: 
https://github.com/llvm/llvm-project/commit/1d90376a48406336ed73d3fc3f8f6aa90f90cb0f.diff

LOG: [clang-tidy][NFC] Fix documentation for performance-avoid-endl

Added missing new line after code block markup and before code.

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/performance/avoid-endl.rst

Removed: 
    


################################################################################
diff  --git 
a/clang-tools-extra/docs/clang-tidy/checks/performance/avoid-endl.rst 
b/clang-tools-extra/docs/clang-tidy/checks/performance/avoid-endl.rst
index d02bd6312a76b..8c29ecac8e6fc 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/performance/avoid-endl.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/performance/avoid-endl.rst
@@ -19,6 +19,7 @@ Example:
 Consider the following code:
 
 .. code-block:: c++
+
     #include <iostream>
 
     int main() {
@@ -28,6 +29,7 @@ Consider the following code:
 Which gets transformed into:
 
 .. code-block:: c++
+
     #include <iostream>
 
     int main() {
@@ -49,6 +51,7 @@ If you do need to flush the stream buffer, you can use 
``std::flush``
 explicitly like this:
 
 .. code-block:: c++
+
     #include <iostream>
 
     int main() {


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to