Commit Graph

6 Commits

Author SHA1 Message Date
Ivan Donchevskii
1a47df0a93 Clang: Fix code completion for connect()
Clang built with this patch properly handles
not only normal methods but also templated ones
which fixes code completion for QObject::connect.

Change-Id: If1c4c0f5fda29c1aff106d8ed7065ff502a26328
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2018-02-23 08:41:29 +00:00
Ivan Donchevskii
b90f2fb251 Clang: Fix crash in connect() statement
With this patch ClangCodeModel can properly
handle static overloads together with non-static ones.

Code completion still might crash - requires another patch.

Task-number: QTCREATORBUG-19184
Change-Id: I12f0e8cb56b3bed3f5ca1f7a9fe4ca3932b78125
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-02-19 10:12:56 +00:00
Nikolai Kosjar
1a706b410c Clang: Add patches improving pretty printing declarations
Change-Id: I36b57c12998b959a3c7c350628c29beab46457b5
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-01-16 10:10:20 +00:00
Nikolai Kosjar
3c745a9eaa Clang: Enumerate clang patches
...to provide some more natural way of appending/inserting new ones at a
specific position. The enumeration also helps to communicate about the
patches.

Change-Id: I8ac911269a11d24a46920c81cd3231c06b94b828
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-01-16 10:10:07 +00:00
Ivan Donchevskii
7a2e1e29cb Clang: update clang patches
These patches should be applied on top of llvm/clang 5.0
List is taken from https://wiki.qt.io/Qt_Creator_Clang_Code_Model

Change-Id: Icd927ae12fc1ef8181a45e2d800efe3007c616ae
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2018-01-12 09:27:43 +00:00
Nikolai Kosjar
b2a3884cf3 Clang: Use markdown for documentation of extra patches
Makes the links clickable.

Change-Id: I2f0f7826e295bdb3ce6fc7aeaf478ee040e54141
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-12-12 14:14:25 +00:00