Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Morgner2017-07-24 19:29:38 +0000
committerNathan Ridge2019-02-22 08:29:05 +0000
commit2272a74f38283afd3a6777dae3d41e501c4c4c54 (patch)
tree0411fe9847c9c99f54c45157cd5a86a5e1ac7c7c /core/org.eclipse.cdt.ui.tests
parent0757b45da5db47a65f59911c42eb9dcccfbdf972 (diff)
downloadorg.eclipse.cdt-2272a74f38283afd3a6777dae3d41e501c4c4c54.tar.gz
org.eclipse.cdt-2272a74f38283afd3a6777dae3d41e501c4c4c54.tar.xz
org.eclipse.cdt-2272a74f38283afd3a6777dae3d41e501c4c4c54.zip
Bug 520117: [C++14] Return type deduction deduces wrong type for
parenthesized expressions in return This patchset fixes 520117 and adjusts the value category of expressions of kind E1.E2 to be standard (DR616) compliant. Change-Id: I9a5cde805f2d0b39a2d263dbc3dcbefd3ba21930 Signed-off-by: Felix Morgner <fmorgner@hsr.ch>
Diffstat (limited to 'core/org.eclipse.cdt.ui.tests')
-rw-r--r--core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/SemanticHighlightingTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/SemanticHighlightingTest.java b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/SemanticHighlightingTest.java
index 7537a80bb10..3d6e4ff4038 100644
--- a/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/SemanticHighlightingTest.java
+++ b/core/org.eclipse.cdt.ui.tests/ui/org/eclipse/cdt/ui/tests/text/SemanticHighlightingTest.java
@@ -810,9 +810,7 @@ public class SemanticHighlightingTest extends TestCase {
// };
// int main() { //$functionDeclaration
// Iter it; //$class,localVariableDeclaration
- // // TODO: The fact that the opening parenthesis gets its own overloadedOperator
- // // semantic highlighting is an (unrelated) bug.
- // 1 + (*it).waldo; //$overloadedOperator,overloadedOperator,localVariable,field
+ // 1 + (*it).waldo; //$overloadedOperator,localVariable,field
// }
public void testOverloadedOperatorStar_539535() throws Exception {
makeAssertions();

Back to the top