This website requires JavaScript.
Explore
Help
Sign In
feedc0de
/
qt-creator
Watch
1
Star
0
Fork
0
You've already forked qt-creator
forked from
qt-creator/qt-creator
Code
Pull Requests
Activity
Files
7e64ecad2bcb3f173f79e4508e0f9f55556fea81
qt-creator
/
tests
/
auto
/
cplusplus
/
preprocessor
/
data
/
identifier-expansion.5.out.cpp
10 lines
46 B
C++
Raw
Normal View
History
Unescape
Escape
[C++] Always output a #line as first line of the pp output. Change-Id: I60d25109ae8fe3628b1899078a21010263787c33 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-03-30 13:01:32 +02:00
#
1 "data
/
identifier-expansion.5.cpp"
C++: do not strip trailing newlines in the preprocessor output. Doing so resulted in an incorrect position for the EOF token when the preprocessed output would be parsed. That in turn leads to incorrect insertion positions for refactoring actions. This is especially true when a file contains only preprocessor directives: the EOF token would point to line 1 column 1, which is usually not the place where code should be inserted. Change-Id: I7d359aa7a6c04bc52c8b873fd49ad6afc3a77319 Reviewed-by: hjk <hjk121@nokiamail.com>
2013-05-30 15:03:54 +02:00
Copy Permalink