]> granicus.if.org Git - clang/commit
The flags on tokens indicate whether they are the start of a *physical* line,
authorChris Lattner <sabre@nondot.org>
Sun, 9 Dec 2007 21:11:08 +0000 (21:11 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 9 Dec 2007 21:11:08 +0000 (21:11 +0000)
commit5f1803210b24b79c1a20f88aa8b0c62191e9d1cb
treed52a1947d1bd197f4cf3cf31f3d0c5af2f6372d4
parent5c0887c1be978f4288cba5afcf93d0bdf2bd22f5
The flags on tokens indicate whether they are the start of a *physical* line,
not the start of a logical line.  Be careful about this distinction, which
affects when newlines are printed and when paste-avoidance happens, etc.
This fixes PR1848, thanks to Neil for noticing this!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44743 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/PrintPreprocessedOutput.cpp
test/Preprocessor/print_line_track.c [new file with mode: 0644]