r329231 - [clang-format] In tests, expected code should be format-stable

2018-04-04 Thread Mark Zeren via cfe-commits
Author: mzeren-vmw Date: Wed Apr 4 14:09:00 2018 New Revision: 329231 URL: http://llvm.org/viewvc/llvm-project?rev=329231&view=rev Log: [clang-format] In tests, expected code should be format-stable Summary: Extend various verifyFormat helper functions to check that the expected text is "stable"

r324246 - [clang-format] Re-land: Fixup #include guard indents after parseFile()

2018-02-05 Thread Mark Zeren via cfe-commits
Author: mzeren-vmw Date: Mon Feb 5 07:59:00 2018 New Revision: 324246 URL: http://llvm.org/viewvc/llvm-project?rev=324246&view=rev Log: [clang-format] Re-land: Fixup #include guard indents after parseFile() Summary: When a preprocessor indent closes after the last line of normal code we do not c

r324239 - Revert "[clang-format] Fixup #include guard indents after parseFile()"

2018-02-05 Thread Mark Zeren via cfe-commits
Author: mzeren-vmw Date: Mon Feb 5 06:47:04 2018 New Revision: 324239 URL: http://llvm.org/viewvc/llvm-project?rev=324239&view=rev Log: Revert "[clang-format] Fixup #include guard indents after parseFile()" This reverts r324238 | mzeren-vmw | 2018-02-05 06:35:54 -0800 (Mon, 05 Feb 2018) | 35 li

r324238 - [clang-format] Fixup #include guard indents after parseFile()

2018-02-05 Thread Mark Zeren via cfe-commits
Author: mzeren-vmw Date: Mon Feb 5 06:35:54 2018 New Revision: 324238 URL: http://llvm.org/viewvc/llvm-project?rev=324238&view=rev Log: [clang-format] Fixup #include guard indents after parseFile() Summary: When a preprocessor indent closes after the last line of normal code we do not correctly

r323904 - [clang-format] Align preprocessor comments with #

2018-01-31 Thread Mark Zeren via cfe-commits
Author: mzeren-vmw Date: Wed Jan 31 12:05:50 2018 New Revision: 323904 URL: http://llvm.org/viewvc/llvm-project?rev=323904&view=rev Log: [clang-format] Align preprocessor comments with # Summary: r312125, which introduced preprocessor indentation, shipped with a known issue where "indentation of

r322448 - [clang-format] [NFC] Remove comment

2018-01-13 Thread Mark Zeren via cfe-commits
Author: mzeren-vmw Date: Sat Jan 13 14:52:34 2018 New Revision: 322448 URL: http://llvm.org/viewvc/llvm-project?rev=322448&view=rev Log: [clang-format] [NFC] Remove comment Remove inaccurate comment that came in with r312125. Modified: cfe/trunk/unittests/Format/FormatTest.cpp Modified: cf