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

28 commits

Author SHA1 Message Date
Nathan Ridge
d45ff124e3 Bug 510722 - Handle a null AST in ExpandSelectionJob and ControlFlowGraphView
Change-Id: Iafd1b9a32833fb67554902d13955023c149a132e
2017-01-21 16:15:52 -05:00
Marc Khouzam
9e1e981b4d Move the rest of the CDT plugins to java 8
This change was generated using the script:
releng/scripts/ChangeJavaVersion.sh

Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-06-22 14:51:43 -04:00
Alex Blewitt
2114f6b108 Bug 491984 - Replace .equals("") with .isEmpty()
In many cases a String's empty status is tested with `.equals("")`.
However, Java 1.6 added `.isEmpty()` which can be more efficient since
it compares the internal length parameter only for testing. Replace
code using the `.isEmpty()` variant instead.

Some tests for `"".equals(expr)` can be replaced with `expr.isEmpty()`
where it is already known that the `expr` is not null; however,
these have to be reviewed on a case-by-case basis.

Change-Id: I3c6af4d8b7638e757435914ac76cb3a67899a5fd
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-19 13:35:54 -04:00
Marc Khouzam
766f66c0ab Missing copyright header.
Copyright assigned to company of the committer
who did the first commit of the file.

Change-Id: Ia133694018c798f9558258810982f5276737a0b0
2016-02-01 12:47:41 -05:00
Alena Laskavaia
5218c3caf9 cleanup of ControlFlowGraph view
Change-Id: Ic6be0eedc1e66867efda2b437181da081b2234c0
2015-12-18 07:59:19 -05:00
Nathan Ridge
155fa65c1c Fix a typo in org.eclipse.cdt.codan.ui.cfgview/plugin.xml
Change-Id: I41aeb1195e9d8b663de396883e0aa6e4f3b5c6e4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-02-16 01:45:53 -05:00
Alena Laskavaia
24d2e1a4c8 Bug 447486 - codan - CCE is thrown by control flow graph builder
- addOutgoing cannot join JumpNode - block will be added to dead list
instead
- addjusted goto code to not use addOutgoing but using setJump directly
- corrected code that doing fake return to deal jump nodes at the end
- corrected code that marks up dead code to remove jump targets
- corrected code that calculates all nodes in the graph to take into
account dangling labels
- fixed CFG viewer to show unconnected labeled statements

Change-Id: Ie4d9e37678e3ebaae8e9f268e6f37342e14a1444
Reviewed-on: https://git.eclipse.org/r/38189
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-12-14 13:09:13 -05:00
Sergey Prigogin
5d7a19fa6c Enabled JDK 1.7.
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
3be412111c Bumped up feature versions for Kepler. 2012-06-28 11:08:11 -07:00
Sergey Prigogin
d8c53b2501 @Override annotations. 2012-01-07 17:43:42 -08:00
Sergey Prigogin
7a3c9ba3a1 Switched to Java 1.6. 2011-10-17 18:04:17 -07:00
Sergey Prigogin
457af57f60 Changed the execution environment to JavaSE-1.6 2011-10-17 16:44:49 -07:00
Vivian Kong
1ac5b9f1e2 Bug 348747 - Codan source bundles missing required files 2011-06-08 14:10:28 +00:00
Alena Laskavaia
598b6fc042 auto-format code using project formatter 2011-02-24 00:50:07 +00:00
Alena Laskavaia
9164b9a756 enable project specific code formatter so all committers use the same one 2011-02-24 00:47:37 +00:00
Alena Laskavaia
aadbf2a477 Bug 335909 - Exception in switch statement 2011-02-09 02:24:19 +00:00
Alena Laskavaia
d91b53a16b Externalized strings in manifest 2010-05-31 01:42:48 +00:00
Alena Laskavaia
3ec7ac60fa Clean up interfaces for control flow graph 2010-05-25 02:16:11 +00:00
Alena Laskavaia
eff03629d6 Interface class should have been in public package 2010-05-12 22:20:25 +00:00
Alena Laskavaia
a39fe6b4b2 Extracted interface for data object of Basic Block in control flow graph 2010-05-09 01:54:29 +00:00
Alena Laskavaia
077398283c - renamed provisional package 2010-04-21 01:41:53 +00:00
Alena Laskavaia
5a5d22c50d - added more tests and support for goto/label statements 2010-04-17 01:58:12 +00:00
Alena Laskavaia
234a20224a - added support for break and continue 2010-04-15 02:22:56 +00:00
Alena Laskavaia
ee3a2444d1 - re-wrote to use labeled node instead of decisionArc 2010-04-14 02:55:44 +00:00
Alena Laskavaia
e1b6394c31 - fixed icons 2010-03-31 00:50:24 +00:00
Alena Laskavaia
2edd020c84 - added support for while loop in cfg 2010-03-30 03:04:48 +00:00
Alena Laskavaia
2449137d04 - fixed action name/icon 2010-03-29 02:39:41 +00:00
Alena Laskavaia
6b922df8c2 - test view to inspect control flow graph 2010-03-29 02:31:04 +00:00