aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/WhitespaceManager.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-06-07[clang-format] Fix alignment of preprocessor trailing commentsKrasimir Georgiev1-8/+46
2017-06-04[clang-format] Don't align too long broken trailing commentsKrasimir Georgiev1-2/+4
2017-05-08[clang-format] Convert AlignEscapedNewlinesLeft to an enum, addingDaniel Jasper1-4/+7
2017-03-23Fix issues in clang-format's AlignConsecutive modes.Nikola Smiljanic1-43/+97
2017-02-03[clang-format] Re-align broken comment lines where appropriate.Krasimir Georgiev1-2/+3
2017-01-31[clang-format] Refactor WhitespaceManager and friendsDaniel Jasper1-59/+57
2017-01-25[clang-format] Implement comment reflowing.Krasimir Georgiev1-1/+32
2016-12-23Use after move bug fixesPiotr Padlewski1-2/+3
2016-12-19[Format] Remove dead code.Benjamin Kramer1-5/+0
2016-10-26Bug 28065 - clang-format incorrectly aligns backslash.Andi-Bogdan Postelnicu1-1/+1
2016-08-01Implement tooling::Replacements as a class.Eric Liu1-1/+6
2016-04-14clang-format: Implemented tab usage for continuation and indentationMarianne Mailhot-Sarrasin1-0/+8
2016-02-01clang-format: Fix alignment of trailing multiline columns.Daniel Jasper1-10/+14
2016-01-11[clang-format] Fix comment aligning when there are changes within the commentBenjamin Kramer1-14/+25
2016-01-09clang-format: Improve selective comment formatting.Daniel Jasper1-7/+14
2015-12-01This fixes https://llvm.org/bugs/show_bug.cgi?id=25329, as well asDaniel Jasper1-190/+132
2015-10-07[clang-format] Stop alignment sequences on open braces and parens whenDaniel Jasper1-8/+28
2015-10-04SourceRanges are small and trivially copyable, don't them by reference.Craig Topper1-2/+2
2015-10-01[clang-format] Add support of consecutive declarations alignmentDaniel Jasper1-10/+133
2015-09-22clang-format: Fix alignConsecutiveAssignments.Daniel Jasper1-34/+44
2015-05-28[Format] Skip creating temporary std::strings when filling another string.Benjamin Kramer1-6/+6
2015-04-29clang-format: Add ability to align assignment operators.Daniel Jasper1-0/+91
2015-03-03Make sure we initialize all values in WhitespaceManager::Change.Manuel Klimek1-2/+3
2015-03-03clang-format: Fix access to uninitialized memory.Daniel Jasper1-0/+1
2015-01-29clang-format: Fix crasher caused by not properly setting dry-run.Daniel Jasper1-0/+5
2015-01-07clang-format: Understand single-line comments at the end of blocks.Daniel Jasper1-4/+6
2014-11-25clang-format: Refactoring.Daniel Jasper1-1/+1
2014-11-24Reverting r222638; it broke the MSVC build bots because Visual Studio 2012 do...Aaron Ballman1-1/+1
2014-11-23clang-format: Refactoring.Daniel Jasper1-1/+1
2014-05-09clang-format: Fix bug introduced by r208392.Daniel Jasper1-3/+2
2014-04-27clang-format: Fix bug when aligning trailing /**/-comments in macros.Daniel Jasper1-1/+2
2014-04-17Fix alignment of trailing block comments.Alexander Kornienko1-61/+85
2014-03-28clang-format: Fix aligning of comments and escaped newlines in macros.Daniel Jasper1-0/+4
2013-11-08clang-format: Improve clang-format's detection about comment binding.Daniel Jasper1-13/+15
2013-10-11Support formatting of preprocessor branches.Manuel Klimek1-2/+13
2013-09-27Added a comment and another test for the UT_ForIndentation optionAlexander Kornienko1-0/+2
2013-09-27Implemented tab usage only for indentation (http://llvm.org/PR17363)Alexander Kornienko1-15/+35
2013-09-27Correctly indent with tabs when whitespace starts from the column not divisib...Alexander Kornienko1-2/+10
2013-09-16When in pre-c++11 mode, treat _T("xxx") as a single string literal, repeat th...Alexander Kornienko1-5/+3
2013-09-11Support for CR LF newlines.Alexander Kornienko1-25/+24
2013-09-05Handle zero-width and double-width characters in string literals and comments.Alexander Kornienko1-2/+2
2013-08-28clang-format: Fix infinite loop in macro special case.Daniel Jasper1-6/+4
2013-07-31clang-format: Make alignment of trailing comments optional ..Daniel Jasper1-3/+3
2013-07-08Reformat clang-format's source files after r185822 and others.Daniel Jasper1-9/+8
2013-07-01Don't align "} // namespace" comments.Daniel Jasper1-7/+17
2013-06-17Fixes incorrect indentation of line comments after break and re-alignment.Alexander Kornienko1-4/+7
2013-06-11Insert a space at the start of a line comment in case it starts with an alpha...Alexander Kornienko1-17/+16
2013-05-29The second step in the token refactoring.Manuel Klimek1-4/+3
2013-05-28Make UnwrappedLines and AnnotatedToken contain pointers to FormatToken.Manuel Klimek1-4/+4
2013-05-27Major refactoring of BreakableToken.Manuel Klimek1-19/+0