summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel/clangassistproposalitem.h
Commit message (Collapse)AuthorAgeFilesLines
* Clang: Fix cursor position after completion of overloadsNikolai Kosjar2017-08-141-2/+3
| | | | | | | | | | | | | | | | | struct Foo { void begin(); void begin() const; }; void c(Foo &foo) { foo.beg // complete to foo.begin()| instead of foo.begin(|) } Task-number: QTCREATORBUG-17443 Change-Id: I60ca16bbfeeb75c5c37a0d5bc6f46e9e9913b86e Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Marco Bubke <marco.bubke@qt.io>
* Wholesale conversion to #pragma oncehjk2016-03-301-4/+1
| | | | | | | Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
* TextEditor: Fix compile with gcc 4.7.3Christian Stenger2016-02-021-0/+1
| | | | | | Change-Id: I59b401c4d7a75398fddc8f6e3a0671fc49f0cb47 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Clang: Remove TextEditorWidget from AssistProposalItemInterfaceMarco Bubke2016-02-021-1/+1
| | | | | | Change-Id: I0ac924f88c1347d1b0027c47118b7ed21daf4869 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Clang: Add ClangPreprocessorAssistProposalItemMarco Bubke2016-02-011-4/+2
| | | | | Change-Id: Ifb27b9a21b9a2fe9a04496bbb70fa3fa07d1f89c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Clang: ClangAssistProposalItem is now inheriting AssistProposalItemInterfaceMarco Bubke2016-02-011-4/+16
| | | | | Change-Id: I781ba27659e852782292596fe590666b09d7253e Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* TextEditor: Introduce AssistProposalItemInterfaceMarco Bubke2016-02-011-1/+1
| | | | | | | | | | For unit test we need to break every dependency to the TextEditor Widget etc.. With an abstract interface we can implement it in clang without relying on unwanted dependencies. It makes it also easier to compute the values deferred. Change-Id: I1b313a1625f4e80bd324ab4bf1a7c4f6b690abe9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* 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 the CodeCompletion getter directlyMarco Bubke2015-07-201-3/+4
| | | | | | | Casting from a Qvariant is expensive and it happens here very often. Change-Id: If524412f314bb8ac9e9e5e4335c7e32ff7a9ce40 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Clang: Rename originalItem in codeCompletionMarco Bubke2015-07-061-1/+1
| | | | | | | Actually it is quite slow anyway to cast the variant to the value. Change-Id: Ied18208455adf9d7d5eb500e139170ced597dc1c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Clang: Split clangcompletion.[h|cpp]Marco Bubke2015-07-061-0/+67
First step for refactor them. Change-Id: If9de084e39ddf31317035ccbbc1fd57d7797d193 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>