summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObject.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-04-15 14:28:00 +0000
committerAlexander Kornienko <alexfh@google.com>2013-04-15 14:28:00 +0000
commitcb45bc1861c3ebfec86fa7add7463a210839dd39 (patch)
tree509fe0b8ceab231f5054d363fee5788279c3db4c /llvm/lib/Object/MachOObject.cpp
parent088b603989875274f02019d964d9e6b651f6c930 (diff)
downloadbcm5719-llvm-cb45bc1861c3ebfec86fa7add7463a210839dd39.tar.gz
bcm5719-llvm-cb45bc1861c3ebfec86fa7add7463a210839dd39.zip
Unified token breaking logic for strings and block comments.
Summary: Both strings and block comments are broken into lines in breakProtrudingToken. Logic specific for strings or block comments is abstracted in implementations of the BreakToken interface. Among other goodness, this change fixes placement of backslashes after a block comment inside a preprocessor directive (see removed FIXMEs in unit tests). The code is far from being polished, and some parts of it will be changed for line comments support. Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D665 llvm-svn: 179526
Diffstat (limited to 'llvm/lib/Object/MachOObject.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud