[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 306183] 'auto' doesn't support constructor initialization syntax
From: Milian Wolff <mail () milianw ! de>
Date: 2012-09-04 12:30:11
Message-ID: bug-306183-40295-hLHTr2Whaj () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=306183
--- Comment #3 from Milian Wolff <mail@milianw.de> ---
Git commit 81f6c1f00297f2e77bec9e9a5681463f3167b28f by Milian Wolff.
Committed on 04/09/2012 at 14:27.
Pushed by mwolff into branch '4.4'.
Fix auto type-deduction for cases like 'auto a(1.1);'.
This won't work for named variables in the paranthesis though,
since that is detected as a function declaration then by the parser.
The declaration builder has enough info to sort this out, but
only sets parameter_is_initializer to true in the declarator, without
actually creating an initializer AST node that could then be handled
to figure out the type and such...
M +12 -1 languages/cpp/cppduchain/tests/test_duchain_cpp2011.cpp
M +14 -6 languages/cpp/cppduchain/typebuilder.cpp
M +1 -1 languages/cpp/parser/parser.cpp
http://commits.kde.org/kdevelop/81f6c1f00297f2e77bec9e9a5681463f3167b28f
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic