[clang] 696e790 - [clang-format] [NFC] Fix the coding style of unit tests header file

via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 27 14:25:54 PDT 2021


Author: owenca
Date: 2021-08-27T14:25:38-07:00
New Revision: 696e7905a142a2c422c6b1485857c900dbdd14fb

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

LOG: [clang-format] [NFC] Fix the coding style of unit tests header file

Added: 
    

Modified: 
    clang/unittests/Format/TestLexer.h

Removed: 
    


################################################################################
diff  --git a/clang/unittests/Format/TestLexer.h b/clang/unittests/Format/TestLexer.h
index acb16ffc94791..ae9818d7561b8 100644
--- a/clang/unittests/Format/TestLexer.h
+++ b/clang/unittests/Format/TestLexer.h
@@ -107,8 +107,8 @@ class TestLexer : public UnwrappedLineConsumer {
   }
 
 public:
-  llvm::SpecificBumpPtrAllocator<FormatToken>& Allocator;
-  std::vector<std::unique_ptr<llvm::MemoryBuffer>>& Buffers;
+  llvm::SpecificBumpPtrAllocator<FormatToken> &Allocator;
+  std::vector<std::unique_ptr<llvm::MemoryBuffer>> &Buffers;
   FormatStyle Style;
   encoding::Encoding Encoding = encoding::Encoding_UTF8;
   clang::SourceManagerForFile SourceMgr;


        


More information about the cfe-commits mailing list