diff options
| author | Daniel Jasper <djasper@google.com> | 2013-01-07 10:48:50 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-01-07 10:48:50 +0000 |
| commit | 71607512cb70db3c1be8f0287153b681531687fc (patch) | |
| tree | dbe5d30ca247121afcce41ac3feda5de5919b2e8 /lib/CodeGen/CGExprScalar.cpp | |
| parent | dd5b1018d97a9666da92d320485a727ac63ee89a (diff) | |
| download | clang-71607512cb70db3c1be8f0287153b681531687fc.tar.gz clang-71607512cb70db3c1be8f0287153b681531687fc.tar.bz2 clang-71607512cb70db3c1be8f0287153b681531687fc.tar.xz | |
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/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions
