llvm-project/clang/lib/Format
Daniel Jasper bad63ae2a5 clang-format: Don't adapt local format to macros.
Formatting this:
   void f() { // 1 space initial indent.
      int i;
  #define A   \
      int i;  \
     int j;
        int k; // Format this line.
   }
   void f() {
       #define A 1 // Format this line.
   }

Before:
   void f() { // 1 space initial indent.
      int i;
  #define A   \
      int i;  \
     int j;
     int k;  // Format this line.
   }
   void f() {
   #define A 1  // Format this line.
   }

After:
   void f() { // 1 space initial indent.
      int i;
  #define A   \
      int i;  \
     int j;
      int k;  // Format this line.
   }
   void f() {
  #define A 1  // Format this line.
   }

llvm-svn: 197494
2013-12-17 12:38:55 +00:00
..
BreakableToken.cpp Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00
BreakableToken.h Remove extra whitespace instead of breaking the line in comments when possible. 2013-11-12 17:50:13 +00:00
CMakeLists.txt [CMake] clang/lib: Prune redundant dependencies. 2013-12-10 02:36:22 +00:00
ContinuationIndenter.cpp Always break before the colon in constructor initializers, when 2013-12-16 14:35:51 +00:00
ContinuationIndenter.h clang-format: Improve handling of raw string literals. 2013-12-16 07:23:08 +00:00
Encoding.h Fix crash in getStringSplit. 2013-11-26 10:38:53 +00:00
Format.cpp clang-format: Don't adapt local format to macros. 2013-12-17 12:38:55 +00:00
FormatToken.cpp clang-format: Be more conservative about braced list column layout. 2013-12-09 14:40:19 +00:00
FormatToken.h clang-format: Keep trailing annotations together. 2013-12-16 15:01:54 +00:00
Makefile
TokenAnnotator.cpp clang-format: Keep trailing annotations together. 2013-12-16 15:01:54 +00:00
TokenAnnotator.h clang-format: Improve selective formatting of nested statements. 2013-11-28 15:58:55 +00:00
UnwrappedLineParser.cpp Implemented GNU-style formatting for compound statements. 2013-12-12 09:49:52 +00:00
UnwrappedLineParser.h Implemented GNU-style formatting for compound statements. 2013-12-12 09:49:52 +00:00
WhitespaceManager.cpp clang-format: Improve clang-format's detection about comment binding. 2013-11-08 23:31:14 +00:00
WhitespaceManager.h Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00