Marco Bubke
568d7e7c7d
Revert "Clang: Reparse the translation unit for unsaved file changes"
...
We reparse before every code completion so this code can be removed. We
will reuse some of it later.
This reverts commit 2443f18b85 .
Change-Id: Ifcadfaa09b87ce5b58bfe5fe3cbaa2a86a59c5a6
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-07-23 09:08:19 +00:00
Marco Bubke
2443f18b85
Clang: Reparse the translation unit for unsaved file changes
...
Change-Id: I49711ce040a995f193d36961e010decc27c34c4c
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-07-17 09:08:08 +00:00
Marco Bubke
5df8085529
Clang: Remove the hint and snippet field from the CodeCompletion
...
It is not used and is producing overhead.
Change-Id: I1398b18a40c0f5c0b90fe4c058996d7eb109f9f2
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-07-16 12:54:58 +00:00
Nikolai Kosjar
8d23d80139
Clang: Clear the project part completely on remove
...
Change-Id: I6fdb1766a3b407fbaaf86b0216a0dd710673aec1
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com >
2015-07-16 12:31:15 +00:00
Marco Bubke
0bc18df655
Clang: Do not work on unspecified values in ProjectParts::remove
...
Change-Id: Icc322bc64988cbc1b5ec4e6d6474b1b6b956c667
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-07-16 11:51:13 +00:00
Marco Bubke
fbd549f213
Clang: Prevent double spaces for clang snippets
...
Change-Id: I62f9b9c217570dd6dafc45719e898cc2ac4d2937
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-07-15 13:53:52 +00:00
Marco Bubke
945c0fbc71
Clang: Add code completion for keyword snippets from clang
...
Change-Id: I91f7af74d811769424928bce1c586a30b5794d6f
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-07-14 16:24:30 +00:00
Marco Bubke
16ab843f95
Clang: Add qt.widgets and qt.gui to unittests
...
Change-Id: I52d1a5dce514daaf3de1262e3368addda7588d81
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-07-13 15:55:28 +00:00
Marco Bubke
dd89d731cf
Clang: Extract and test action sequence
...
Change-Id: I66f8f29d7b17be67a55560bdcc0b0a3aeb1ce480
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-07-08 12:29:20 +00:00
Nikolai Kosjar
9e4a4586f9
Clang: Tests: Fix unit tests compilation on Windows
...
Change-Id: Id9e51de3b2bcb273fd2268ba7f7192f80dee1f53
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com >
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com >
2015-07-02 13:16:16 +00:00
Nikolai Kosjar
2eb3bda5a8
Clang: Indicate lines from ClangBackEnd
...
...with a prefix.
Change-Id: I6e23e00254d7b7316057514d1234cde66ab44a0d
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-06-26 07:56:44 +00:00
Marco Bubke
2b84d7611b
Clang: Reorder includes
...
Change-Id: I324e88c0d295114390c1fac2745c0d2d47637ece
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-06-16 13:53:30 +00:00
Marco Bubke
1402c067b1
Clang: Rename CodeModelBackEnd in ClangBackEnd
...
Change-Id: I13e8a458634110456375956d4d4da7239c86957f
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com >
2015-06-16 13:29:27 +00:00