summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodeformatter.cpp
diff options
context:
space:
mode:
authorPrzemyslaw Gorszkowski <pgorszkowski@gmail.com>2014-03-25 09:23:31 -0400
committerNikolai Kosjar <nikolai.kosjar@digia.com>2014-03-25 15:08:35 +0100
commit5d3c0701741edb64aae3b7281e78cb3f9521a6fe (patch)
tree73cc232801ca2932084caeb8832906f0cc6ffc33 /src/plugins/cpptools/cppcodeformatter.cpp
parenta7d3340685992199226c29bf2f212af48b3c30b7 (diff)
downloadqt-creator-5d3c0701741edb64aae3b7281e78cb3f9521a6fe.tar.gz
C++: Do not set binding block as instantiationOrigin
The binding in a block should not be used as an instantiationOrigin, because it will be deleted if it does not contain any blocks or namespaces or classes or enums. Instead of that we should look for first enclosing class or namespace. Task-number: QTCREATORBUG-11424 Change-Id: I0fc6e935495478f71372b0fe6f611887f45b2eda Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodeformatter.cpp')
0 files changed, 0 insertions, 0 deletions