diff options
author | Przemyslaw Gorszkowski <pgorszkowski@gmail.com> | 2015-02-02 15:13:00 +0100 |
---|---|---|
committer | Przemyslaw Gorszkowski <pgorszkowski@gmail.com> | 2015-02-04 11:55:04 +0000 |
commit | 955e28f954746a6a7242fe8fa67dd7c53b8e2430 (patch) | |
tree | f403719446176b281accb95f84e34d4b5be90fec /src/plugins/cpptools/cppprojects.cpp | |
parent | 7d4b9c4ba0936adf8ad1fcaf0093d15f394e3023 (diff) | |
download | qt-creator-955e28f954746a6a7242fe8fa67dd7c53b8e2430.tar.gz |
C++: fix auto declaration in if condition
Fix for auto completion in case of auto declaration inside if condition:
struct Foo { int bar; };
void func()
{
if (auto s = new Foo)
s->; // auto completion does not work
}
Task-number: QTCREATORBUG-13805
Change-Id: Ia1776e8cc04e6040a6bf5f43cf82cfd6ce6dde7a
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cppprojects.cpp')
0 files changed, 0 insertions, 0 deletions