aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/UnwrappedLineParser.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-01-07 10:48:50 +0000
committerDaniel Jasper <djasper@google.com>2013-01-07 10:48:50 +0000
commit71607512cb70db3c1be8f0287153b681531687fc (patch)
treedbe5d30ca247121afcce41ac3feda5de5919b2e8 /lib/Format/UnwrappedLineParser.cpp
parentdd5b1018d97a9666da92d320485a727ac63ee89a (diff)
Do not break before "0" in pure virtual function declarations.
Before: virtual void write(ELFWriter *writer, OwningPtr<FileOutputBuffer> &buffer) = 0 After: virtual void write(ELFWriter *writerrr, OwningPtr<FileOutputBuffer> &buffer) = 0; This addresses llvm.org/PR14815. To implement this I introduced a line type during parsing and moved the definition of TokenType out of the struct for increased readability. Should have done the latter in a separate patch, but it would be hard to pull apart now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions