aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-01-18 14:04:34 +0000
committerManuel Klimek <klimek@google.com>2013-01-18 14:04:34 +0000
commitd3b92fa61edb1da297697dd64108a4d8487152f2 (patch)
treea176e5c2c72c8d0d783aa1d5eb714db96d1a6503 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent8b517f1076b3df8781d895a8cd391fdeffd69337 (diff)
downloadllvm-d3b92fa61edb1da297697dd64108a4d8487152f2.zip
llvm-d3b92fa61edb1da297697dd64108a4d8487152f2.tar.gz
llvm-d3b92fa61edb1da297697dd64108a4d8487152f2.tar.bz2
Fixes problems with line merging in the face of preprocessor directives.
This patch prepares being able to test for and fix more problems (see FIXME in the test for example). Previously we would output unwrapped lines for preprocessor directives at the point where we also parsed the hash token. Since often projections only terminate (and thus output their own unwrapped line) after peeking at the next token, this would lead to the formatter seeing the preprocessor directives out-of-order (slightly earlier). To be able to correctly identify lines to merge, the formatter needs a well-defined order of unwrapped lines, which this patch introduces. llvm-svn: 172819
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions