llvm-project/clang/unittests
Daniel Jasper 2739af3b9c clang-format: Improve token breaking behavior.
Two changes:
* Don't add an extra penalty on breaking the same token multiple times.
  Generally, we should prefer not to break, but once we break, the
  normal line breaking penalties apply.
* Slightly increase the penalty for breaking comments. In general, the
  author has put some thought into how to break the comment and we
  should not overwrite this unnecessarily.

With a 40-column column limit, formatting
  aaaaaa("aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa");

Leads to:
Before:
  aaaaaa(
      "aaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaa "
      "aaaaaaaaaaaaaaaa");

After:
  aaaaaa("aaaaaaaaaaaaaaaa "
         "aaaaaaaaaaaaaaaa "
         "aaaaaaaaaaaaaaaa");

llvm-svn: 189466
2013-08-28 10:03:58 +00:00
..
AST Comment parsing: fix a bug where a line with whitespace between two paragraphs 2013-08-23 18:03:40 +00:00
ASTMatchers Revert "Add support for eachOf/allOf/anyOf variadic matchers in the dynamic layer." 2013-08-27 16:55:22 +00:00
Basic Use llvm::sys::fs::UniqueID for windows and unix. 2013-08-01 21:42:11 +00:00
Format clang-format: Improve token breaking behavior. 2013-08-28 10:03:58 +00:00
Frontend [Driver] Refactor clang driver to use LLVM's Option library 2013-06-14 17:17:23 +00:00
Lex Include Path.h instead of PathV2.h. 2013-06-11 22:15:02 +00:00
Sema Add hooks to ExternalSemaSource for after-the-fact diagnosis of 2013-08-12 22:11:14 +00:00
Tooling Adding a vector version of clang::tooling::shiftedCodePosition(). 2013-08-27 15:44:26 +00:00
CMakeLists.txt Add hooks for typo correction to ExternalSemaSource, courtesy of Luke Zarko. 2013-08-12 19:54:38 +00:00
Makefile Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00