I still not sure that this works when we adapt to local style. Consider this 
case:

  Assume IndentWidth = 2, UseTab = UT_ForIndentation. Then:

    void f() {
      if (a) {
      f();  // This is wrong but not formatted.
      aaaaaa( // Format only this line.
          parameter); // How many tabs are used for this line. I would guess 2, 
although 1 would be correct.
      }
    }

  I might be wrong though. Also, feel free to check this in as is and wait for 
somebody to file a bug ;-).

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

BRANCH
  svn

ARCANIST PROJECT
  clang
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to