summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-05-28 10:01:59 +0000
committerManuel Klimek <klimek@google.com>2013-05-28 10:01:59 +0000
commitd63312b1484a4642225c97e1dd013fe520b2b9a4 (patch)
treec687eebe22070304651e365a14f2d0180b14c040 /lib/CodeGen/CodeGenFunction.cpp
parentc5cc4bf2699b0542f352738f84eee373cfcf670f (diff)
downloadclang-d63312b1484a4642225c97e1dd013fe520b2b9a4.tar.gz
clang-d63312b1484a4642225c97e1dd013fe520b2b9a4.tar.bz2
clang-d63312b1484a4642225c97e1dd013fe520b2b9a4.tar.xz
Disable tab expansion when counting the columns in block comments.
To fully support this, we also need to expand tabs in the text before the block comment. This patch breaks indentation when there was a non-standard mixture of spaces and tabs used for indentation, but fixes a regression in the simple case: { /* * Comment. */ int i; } Is now formatted correctly, if there were tabs used for indentation before. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions