1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

13276 commits

Author SHA1 Message Date
Nathan Ridge
6c4576281d Bug 506170 - Compute correct associated namespaces for enumeration type
Change-Id: I60ddfd1f98b6f32ad785e8d881704356aff18043
2016-11-04 03:00:47 -04:00
Nathan Ridge
8244bcd33d Bug 506170 - Evaluation of dependent conditional expression
Change-Id: I59355bb40e84662554be76929ba9f9618aec7dba
2016-11-04 03:00:04 -04:00
Doug Schaefer
b6d218a652 Fix no binaries issue with Core Build.
When a second config is added, the binary parsers wasn't getting
reset so the new binary parser wasn't getting called.

Also cleans up the reset to remove the close that happens. Not sure
why it was needed so will keep an eye out for new bad behavior.

Change-Id: I0b4cb628829b138e2ceb3f08833649b90255648c
2016-11-02 16:15:47 -04:00
Sergey Prigogin
6335a5c2ba Revert "Bug 483602 - Implement deletion of elements from Outline view"
The Delete operation doesn't properly call
TextEditorAction.validateEditorInputState() and as a result doesn't work
in version control environments that keep unchanged files read-only.
Another problem is that Ctrl+Z doesn't trigger Undo when the Outline
view is active. When the Delete element action is reintroduced it should
be made to behave the same way as in JDT, e.g, display a prompt before
deletion and be bound to the Delete key.

This reverts commit f034a69fb7.

Change-Id: I6d37f5aaea1770143fbf84288068794430a5b0e0
2016-10-31 14:59:53 -07:00
Marc Khouzam
896eba55c5 Update plugin version and fix @since tag
Change-Id: I60463177469d823d3ce69a4ed0612291ca542fc6
2016-10-31 10:42:13 -04:00
ljyanesm
f034a69fb7 Bug 483602 - Implement deletion of elements from Outline view
Adding the delete refactor to the refactor context menu in the Outline
View.

Change-Id: I208078d2200853389bf4eb114756cf4e9b719134
Signed-off-by: ljyanesm <yanes.luis@gmail.com>
2016-10-30 22:59:32 +00:00
Nathan Ridge
b6bda6636c Bug 506728 - Ref-qualified conversion operator
Change-Id: Ic5e1650bdd1235fd953ab79e44f801c0b52badf3
2016-10-29 00:45:32 -04:00
Sergey Prigogin
4fa9706ea8 Cosmetics.
Change-Id: Ibd8c8ac950c55c02259e9dfacb0649dfca8820dc
2016-10-28 14:52:56 -07:00
Sergey Prigogin
d69b51acc8 Bug 506668 - Name resolution problem with namespace alias in macro
expansion

Change-Id: I15a0198c588cbb0e044392f47367679bb90180a6
2016-10-28 14:01:38 -07:00
Sergey Prigogin
64bd99d429 Improved diagnostic messages in tests.
Change-Id: I031061fa7ce8c7cf5af76f229ff9b93c411d1be3
2016-10-28 10:22:51 -04:00
Nathan Ridge
5da005cf3a Bug 397296 - Add missing keywords to the list of keywords for which completion is offered
Change-Id: I3c08e736ec5ce8ef7a4c8954cd4e9548bf079d25
2016-10-28 03:35:34 -04:00
Nathan Ridge
f229ec9e44 Bug 506170 - Calculate sizeof(double) correctly
Change-Id: Ie0b4767a81ed529e827d1b9decd4d065225e8e5b
2016-10-27 00:52:24 -04:00
Nathan Ridge
e7e66605f2 Bug 395571 - Show name of nesting type when printing names of nested types in completions
Change-Id: I2fc191403a6ead68d30b99e427a005109355baad
2016-10-27 00:52:01 -04:00
Sergey Prigogin
35687baf43 Revert "Bug 402498 - Apply declaredBefore() filtering to index bindings"
This reverts commit fbccef3ff1.

Change-Id: I2b899750815200068dbe27b097f108b237d02447
2016-10-26 22:31:46 -04:00
Joseph Henry
b741fb552a Bug 417193 - Incorrect Symbol <X> could not be found
Fixed bug with mixing #pragma once with standard include guard.

Change-Id: Ic418ab290f9d322d943bab56625ce1f0fe6b2aee
Signed-off-by: Joseph Henry <joseph.henry@sas.com>
2016-10-26 21:18:08 -04:00
Sergey Prigogin
e3fbd7c4ca Removed redundant qualifiers.
Change-Id: Ife57237b66199ac753c804141be1d77b6188caf6
2016-10-26 16:47:17 -07:00
Sergey Prigogin
52f4104080 Fixed an NPE.
Change-Id: I20e5a2c2a452159224cd8af5a3e0c434801b67cc
2016-10-26 16:46:36 -07:00
Sergey Prigogin
d1528d0c5d Bug 506529 - NPE when organizing includes
Change-Id: Ib6780aefd2febff4ffb953ae36b1f4312922a5b8
2016-10-25 13:51:00 -07:00
Sergey Prigogin
d203d965a2 Added "PRESERVE" comment to protect some nodes from removal.
Change-Id: I63038293cf66fb81fa30ab0d14f847d9c4bfea4d
2016-10-25 10:52:13 -07:00
Nathan Ridge
3fc681c299 Bug 487764 - Add a highlighting for variables passed by non-const reference
The highlighting is disabled by default.

Change-Id: I0b9e587c3b9d7206614937893d535825a4be99e5
2016-10-24 00:35:28 -04:00
Nathan Ridge
d459bad872 Follow-up to the DependentValue refactoring
Replace some uses of IntegralValue with DependentValue that were missed
originally.

Change-Id: Ieac5757c042378082c8d38f4883d7e495f64d208
2016-10-23 02:15:20 -04:00
Nathan Ridge
e9c6ca09e8 Bug 486682 - Syntax coloring of macro arguments that occur in reverse order in the AST
This patch also fixes a couple of other bugs related to syntax coloring of
macro expansions, which are exposed by this change (bug 490415, bug 496696).

Change-Id: I3c0030ff61e721e099dc50afc109dd44e37276a3
2016-10-22 21:15:11 -04:00
Doug Schaefer
fa84dad370 Make launchMode a core thing and add Debug for CMake configs.
Change-Id: Ie431824dddda07cd6985e5b644970eb525280577
2016-10-20 20:01:52 -04:00
Nathan Ridge
fbccef3ff1 Bug 402498 - Apply declaredBefore() filtering to index bindings
Change-Id: I3086c35cf294970d4adbb65dd6aa3708710f9c02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2016-10-19 11:24:43 -04:00
Nathan Ridge
ed65559753 Split IntegralValue into IntegralValue and DependentValue
Change-Id: I2bf312ab03e04636991256bcdb4711a23851f139
2016-10-18 17:09:44 -04:00
Sergey Prigogin
47784c8980 Minor cleanup.
Change-Id: I5d9cb2aba6a4501dc25615f4950069390afb8f6d
2016-10-17 13:01:10 -07:00
Doug Schaefer
5d7b64cd11 Fix the BinaryRunner deadlock correctly.
Change-Id: I23907639a4f550c3ed0406f7229b9459deebb4d0
2016-10-17 10:52:58 -04:00
Doug Schaefer
e76ec05aab Bug 503036 - Fix deadlock caused by previous fix.
Change-Id: Ic333a7f0230e6a28033fd6659408895b34f5b70e
2016-10-14 14:46:46 -04:00
Sergey Prigogin
85d8e44eb1 Bug 485422 - Organize includes: header substitution maps not always used
With this change the heuristic header substitution tries to find a
header that is better than the one computed using regular substitution
rules, but defaults to that header if it can't find a better one.

Change-Id: I811857b2ccf66e2db4161801f34db8464834ce12
2016-10-13 18:09:52 -07:00
Sergey Prigogin
430ba3a73f Bug 505932 - Heuristic header substitution is too aggressive
Change-Id: I08fd598ef5411c3e5956460ae1d2c39947b12c78
2016-10-13 16:24:32 -07:00
Sergey Prigogin
c5afeb8d85 Bug 505832 - Add ICPPVariable.isConstexpr() method
Change-Id: I0f889347807d2e23be00ae68786a08e58a5ae8c4
2016-10-13 18:23:11 -04:00
Marc Khouzam
d3fecaa15e Add API filter for default methods.
Change-Id: Ie67bd964cd725ed1fc0356212e4a7f947232b066
2016-10-13 11:52:24 -04:00
Sergey Prigogin
bc1d5f3d2d Removed use of SubProgressMonitor.
Change-Id: Ibb44a6e12f147a69a8a32e243831f5d4ac1468ec
2016-10-12 19:38:29 -04:00
Doug Schaefer
e371ba0919 Updates for Core Build.
Change-Id: I8720d5b57e335adde538838790c3ecdd465a7ed7
2016-10-12 19:19:19 -04:00
Sergey Prigogin
2a7e9108dc Adjusted Javadocs.
Change-Id: I91da69eba36c8ee554eff369d89cb0a9848559b1
2016-10-11 16:43:59 -04:00
Sergey Prigogin
f661b90e01 Optimized TypeTraits.hasTrivialDestructor method.
Avoid repeated checking of the same class.

Change-Id: If64bd05de0f5f20273bd77b2a8f3a55ccae96391
2016-10-10 20:32:28 -07:00
Sergey Prigogin
2d02ddf8ca Bug 505606 - OutOfMemoryError in indexer
Change-Id: Ibcff4aa82cf46f0ec01705715b98f881cb39dca5
2016-10-10 19:23:06 -07:00
Sergey Prigogin
662091c72d Added protection against ClassCastException
Change-Id: Ib14420d944c840ebda24305530f82142998cfe5c
2016-10-10 22:21:54 -04:00
Sergey Prigogin
52eb5f7b02 Fixed an NPE.
Change-Id: Ic3aa10acaf7ecd51dbed7f882cd1db93bf490e24
2016-10-10 22:21:18 -04:00
Sergey Prigogin
77a506b6b8 Fixed an NPE.
Change-Id: I1a1e00b50eefdea775c7d0487250cb62850cf0ec
2016-10-10 22:20:21 -04:00
Sergey Prigogin
d8c56b9226 Cosmetics
Change-Id: If2f5f3084623e424957ffab8708ade3a342db614
2016-10-10 18:13:07 -07:00
Sergey Prigogin
ac04367ff9 Cosmetics
Change-Id: I937489ee3a5d8b18352cdf0086730f7f70f54f49
2016-10-10 14:54:46 -07:00
Sergey Prigogin
2c5fdf503d Cosmetics
Change-Id: I9dbbaa0a6bf634d3c1dd931369bc23d0aa683158
2016-10-10 12:53:19 -07:00
Sergey Prigogin
59f5c157aa Cosmetics
Change-Id: I4a1144c870b820d7bd98e068c659fa6904e2f8ee
2016-10-09 12:03:53 -07:00
Sergey Prigogin
52bd79302f Added CStringValue.toString method foe ease of debugging.
Change-Id: I1a7a243b4f212a69c6af8289d7ca3bf159b759e7
2016-10-09 10:37:03 -07:00
Sergey Prigogin
4e01baa83f Cosmetics
Change-Id: I83fb4c257059beaef16fa35512766196c5fc4dcb
2016-10-09 10:22:29 -07:00
Sergey Prigogin
87ada6a98b Fixed EvalConstructor.isConstantExpression method
Change-Id: I17e3d9bb53cd8667832c9414108247ccde75e0b7
2016-10-08 23:22:33 -04:00
Sergey Prigogin
4c4fb739b1 Made some classes and methods final. Some code cleanup.
Change-Id: Id93278dba3863baa6cdac67aba56801616dacee3
2016-10-08 22:53:24 -04:00
Sergey Prigogin
b59d930ed4 Cosmetics.
Change-Id: I83607322be2e3309e12604c5b5c2473aa3823f8f
2016-10-08 18:16:53 -07:00
Sergey Prigogin
17a5ba8361 Fixed a potential NPE.
Change-Id: I274242b74a27f17eeb3a6d7841b1107be22cd096
2016-10-08 16:08:01 -07:00