[clang] 17139b2 - [clang-format] Reformat. NFC.

Marek Kurdej via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 27 00:11:14 PDT 2021


Author: Marek Kurdej
Date: 2021-04-27T09:10:58+02:00
New Revision: 17139b2b21a080c8584fbfe059e8adf85fd26c07

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

LOG: [clang-format] Reformat. NFC.

Added: 
    

Modified: 
    clang/lib/Format/Format.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 00849107c894..b6aa445bb9f4 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/lib/Format/Format.cpp
@@ -3054,7 +3054,7 @@ llvm::Expected<FormatStyle> getStyle(StringRef StyleName, StringRef FileName,
 
           LLVM_DEBUG(llvm::dbgs() << "Applying child configurations\n");
 
-          for (const auto& MemBuf : llvm::reverse(ChildFormatTextToApply)){
+          for (const auto &MemBuf : llvm::reverse(ChildFormatTextToApply)) {
             auto Ec = parseConfiguration(*MemBuf, &Style, AllowUnknownOptions,
                                          dropDiagnosticHandler);
             // It was already correctly parsed.


        


More information about the cfe-commits mailing list