[Lldb-commits] [lldb] 5bc32ad - [lldb testing] NFC: run through clang-format

David Zarzycki via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 5 10:40:45 PDT 2021


Author: David Zarzycki
Date: 2021-10-05T13:40:27-04:00
New Revision: 5bc32ad08d9a25b1a4fc4fe7daa4056d1d1ef67f

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

LOG: [lldb testing] NFC: run through clang-format

Added: 
    

Modified: 
    lldb/unittests/Host/posix/TerminalTest.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/Host/posix/TerminalTest.cpp b/lldb/unittests/Host/posix/TerminalTest.cpp
index 37b6b3cf60bf..788c2a6ea579 100644
--- a/lldb/unittests/Host/posix/TerminalTest.cpp
+++ b/lldb/unittests/Host/posix/TerminalTest.cpp
@@ -80,8 +80,10 @@ TEST_F(TerminalTest, SaveRestoreRAII) {
     terminfo = orig_terminfo;
 
     // make an arbitrary change
-    cfsetispeed(&terminfo,cfgetispeed(&orig_terminfo) == B9600 ? B4800 : B9600);
-    cfsetospeed(&terminfo,cfgetospeed(&orig_terminfo) == B9600 ? B4800 : B9600);
+    cfsetispeed(&terminfo,
+                cfgetispeed(&orig_terminfo) == B9600 ? B4800 : B9600);
+    cfsetospeed(&terminfo,
+                cfgetospeed(&orig_terminfo) == B9600 ? B4800 : B9600);
 
     ASSERT_EQ(tcsetattr(m_pty.GetPrimaryFileDescriptor(), TCSANOW, &terminfo),
               0);


        


More information about the lldb-commits mailing list