[llvm] fad9cba - [Docs] Add missing space, requested on c08ea07

Erich Keane via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 15 16:21:11 PDT 2020


Author: Erich Keane
Date: 2020-06-15T16:20:32-07:00
New Revision: fad9cba8f58ba9979f390a49cf174ec9fcec29a6

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

LOG: [Docs] Add missing space, requested on c08ea07

Added: 
    

Modified: 
    llvm/docs/CodingStandards.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst
index adf6e9036941..861ab05420fb 100644
--- a/llvm/docs/CodingStandards.rst
+++ b/llvm/docs/CodingStandards.rst
@@ -1612,7 +1612,7 @@ belonged to the preceeding condition, or the ``else``.
   // so it shouldn't have braces.  The if also only contains a single statement (the
   // for loop), so it also should omit braces.
   if (isa<FunctionDecl>(D))
-    for(auto *A : D.attrs())
+    for (auto *A : D.attrs())
       handleAttr(A);
 
 


        


More information about the llvm-commits mailing list