aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/makestep.cpp
diff options
context:
space:
mode:
authorLeandro Melo <[email protected]>2012-01-31 13:41:39 +0100
committerLeandro Melo <[email protected]>2012-01-31 16:44:38 +0100
commit5b847a66dfc762e3a8049860ca036be195faba89 (patch)
treedfa3743349d6e96c81cbf7ecb909ca497e35d4cc /src/plugins/cmakeprojectmanager/makestep.cpp
parentac3093058c4ce620987e3c1c1dc67ccfbe040996 (diff)
C++: Handle add definition on empty files
Now in the case of a matching empty file we still select a best token so the insertion happens *at* the end of the file. The patch also fixes line breaks after the definition to be inserted for situations in which there's no line break yet. Example: namespace Foo {} namespace { } Another thing for correctness. Member _key from HighestValue is now value initialized instead of default initialized. Task-number: QTCREATORBUG-6696 Change-Id: I5c0303675429c3da5cb88825272c9611be022f6a Reviewed-by: Roberto Raggi <[email protected]>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/makestep.cpp')
0 files changed, 0 insertions, 0 deletions