History log of /llvm-project/clang/unittests/Format/FormatTest.cpp (Results 2026 – 2034 of 2034)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# aa1c920d 05-Dec-2012 Daniel Jasper <djasper@google.com>

Indentation fixes for clang-format.

- Fix behavior of memoization together with optimization
- Correctly attribute the PenaltyIndentLevel (breaking directly after "(" did
not count towards the inn

Indentation fixes for clang-format.

- Fix behavior of memoization together with optimization
- Correctly attribute the PenaltyIndentLevel (breaking directly after "(" did
not count towards the inner level)
- Recognize more tokens as assignments

Review: http://llvm-reviews.chandlerc.com/D172
llvm-svn: 169384

show more ...


# 426702dc 05-Dec-2012 Daniel Jasper <djasper@google.com>

Small tweaks to automatic formatting.

Recognize '!=' as a binary operator and assume that there are no
type definitions on the RHS of an assignment.

llvm-svn: 169363


# 870f9eb9 04-Dec-2012 Alexander Kornienko <alexfh@google.com>

Error recovery part 2

Summary: Adds recovery for structural errors in clang-format.

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits, silvas

Differential Revision: http://llvm-reviews.cha

Error recovery part 2

Summary: Adds recovery for structural errors in clang-format.

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits, silvas

Differential Revision: http://llvm-reviews.chandlerc.com/D164

llvm-svn: 169286

show more ...


# 0ea8e107 04-Dec-2012 Alexander Kornienko <alexfh@google.com>

Clang-format error recovery part 1

Reviewers: klimek

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D163

llvm-svn: 169278


# b7076a23 04-Dec-2012 Alexander Kornienko <alexfh@google.com>

Enum formatting implementation

Reviewers: djasper, klimek

Reviewed By: klimek

CC: cfe-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D161

llvm-svn: 169272


# 8b529711 04-Dec-2012 Daniel Jasper <djasper@google.com>

Small fixes to unary operator recognition and handling of include
directives.

llvm-svn: 169261


# 9b155475 04-Dec-2012 Daniel Jasper <djasper@google.com>

Replace workarounds with correct fixes.

Also fix header guard.

http://llvm-reviews.chandlerc.com/D159

llvm-svn: 169254


# 320d9666 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com>

Sort the #include lines for unittests/...

I've tried to place sensible headers at the top as main-module headers.

llvm-svn: 169243


# f7935115 03-Dec-2012 Daniel Jasper <djasper@google.com>

Initial version of formatting library.

This formatting library will be used by a stand-alone clang-format tool
and can also be used when writing other refactorings.

Manuel's original design documen

Initial version of formatting library.

This formatting library will be used by a stand-alone clang-format tool
and can also be used when writing other refactorings.

Manuel's original design document:
https://docs.google.com/a/google.com/document/d/1gpckL2U_6QuU9YW2L1ABsc4Fcogn5UngKk7fE5dDOoA/edit

The library can already successfully format itself.

Review: http://llvm-reviews.chandlerc.com/D80
llvm-svn: 169137

show more ...


1...<<8182