[clang] 6cbebfc - [clang-format] Fix comment. NFC.

Marek Kurdej via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 12 07:10:12 PST 2022


Author: Marek Kurdej
Date: 2022-01-12T16:10:03+01:00
New Revision: 6cbebfc7fb3468a080b04c58bfe374f8bee33d12

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

LOG: [clang-format] Fix comment. NFC.

Added: 
    

Modified: 
    clang/lib/Format/DefinitionBlockSeparator.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Format/DefinitionBlockSeparator.cpp b/clang/lib/Format/DefinitionBlockSeparator.cpp
index 504392cb61422..d09cd0bd33fbe 100644
--- a/clang/lib/Format/DefinitionBlockSeparator.cpp
+++ b/clang/lib/Format/DefinitionBlockSeparator.cpp
@@ -162,7 +162,7 @@ void DefinitionBlockSeparator::separateBlocks(
       // handled in another case if the line following is opening a
       // definition.
       if (!TargetToken->closesScope() && !IsPPConditional(OpeningLineIndex)) {
-        // Check whether current line may be precedings of a definition line.
+        // Check whether current line may precede a definition line.
         while (OpeningLineIndex + 1 < Lines.size() &&
                MayPrecedeDefinition(/*Direction=*/0))
           ++OpeningLineIndex;


        


More information about the cfe-commits mailing list