llvm-project/clang/lib
Krasimir Georgiev af1b9622d4 [clang-format] Fix reflow in block comment lines with leading whitespace.
Summary:
The reflower was not taking into account the additional  leading whitespace in block comment lines.

source:
```
{
/*
 * long long long long
 *   long
 * long long long long
 */
}
```

format (with column limit 20) before:
```
{
  /*
   * long long long
   * long long long long
   * long long
   */
}
```
format after:
```
{
  /*
   * long long long
   * long long long
   * long long long
   */
}
```

Reviewers: djasper, klimek

Reviewed By: djasper

Subscribers: cfe-commits, sammccall, klimek

Differential Revision: https://reviews.llvm.org/D29326

llvm-svn: 293633
2017-01-31 14:31:44 +00:00
..
ARCMigrate Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
AST Revert r293585 "Add better ODR checking for modules." 2017-01-31 08:24:40 +00:00
ASTMatchers Move VariantMatcher's Payload to std::shared_ptr rather than IntrusiveRefCntPtr 2017-01-05 18:51:54 +00:00
Analysis Remove unused 'using' declaration. Found by clang-tidy: misc-unused-using-decls NFC 2017-01-28 13:41:50 +00:00
Basic Prototype of modules codegen 2017-01-30 05:00:26 +00:00
CodeGen AMDGPU: Add builtin for fmed3 intrinsic 2017-01-31 03:42:07 +00:00
Driver [lsan] Enable LSan for x86 Linux 2017-01-31 07:00:23 +00:00
Edit Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand." 2016-12-23 14:55:49 +00:00
Format [clang-format] Fix reflow in block comment lines with leading whitespace. 2017-01-31 14:31:44 +00:00
Frontend [c-index-test] Provide capability to index module file imports and dump their input files. 2017-01-30 06:05:58 +00:00
FrontendTool unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
Headers [OpenCL] Diagnose write_only image3d when extension is disabled 2017-01-25 12:18:50 +00:00
Index [index] CMake: add missing reference to clangSerialization library. 2017-01-30 06:48:27 +00:00
Lex Prototype of modules codegen 2017-01-30 05:00:26 +00:00
Parse Support '#pragma clang __debug dump' within C++ classes. 2017-01-28 01:20:57 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema Revert r293585 "Add better ODR checking for modules." 2017-01-31 08:24:40 +00:00
Serialization Revert r293585 "Add better ODR checking for modules." 2017-01-31 08:24:40 +00:00
StaticAnalyzer In VirtualCallChecker, handle indirect calls 2017-01-31 05:23:20 +00:00
Tooling clang-format: Make GetStyle return Expected<FormatStyle> instead of FormatStyle 2017-01-17 00:12:27 +00:00
CMakeLists.txt