summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel/clangactivationsequencecontextprocessor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clang: Treat brace initialization as constructor completionIvan Donchevskii2018-08-211-3/+3
| | | | | | | | | Try to complete constructor after left brace with fallback to normal completion. Task-number: QTCREATORBUG-20957 Change-Id: I6c33790a3ee1e623a3d8abe9a44cfd821b6f3106 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Clang: Fix completion after qualification (::)Nikolai Kosjar2017-10-191-4/+8
| | | | | | | | | | | | | | | | | | | | | | ...and maybe other cases. Since Clang: fix findStartOfName handling commit 82d0650b116e0607e24021b0930e57759c53b449 the proposal's base position was calculated wrong. As a result, an early return triggert in CodeAssistantPrivate::displayProposal (call to newProposal->hasItemsToPropose(prefix, reason)) and no completions were displayed. Fix by ensuring that the added code from the mentioned commit is only called when needed, namely only for function expressions. Task-number: QTCREATORBUG-19083 Change-Id: I8f23c9b7186f9d81159939c8b3ef475a09bbe760 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
* Clang: fix findStartOfName handlingIvan Donchevskii2017-09-051-0/+23
| | | | | | | ... of templates and qualified names Change-Id: Ic8c2dec35cb74484f474c0c608857e7cf48c7468 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-17/+12
| | | | | | | * Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* Clang: Use "clang" prefix plugin filesNikolai Kosjar2015-11-301-0/+272
...for consistency and to avoid future file name clashes. Change-Id: If595c8debfa1ceb01a1bb0ed34649fa513660503 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>