basically for the code like
if (a) return 1; else return 2;
a++; // this should be a dead code node
but we don't check connector node of "if" and don't add
it to dead nodes graph resulting it this code not being marked as dead,
which can lead to false positives or false negatives for checkers that
use that. Same apply for other control statements...
Change-Id: Iafb4b48ca960f0ffab2c0265285a31cb08eb0d11
Choose version 2.5.2 which is what is supported by CDT's HIPP. Note that by removing the version altogether, the latest available findBugs would be selected. However, this could lead to different results between manual builds and HIPP builds, which is why I thought it would be better to specify the version explicitly.
FindBugs can be run by adding the string
findbugs:findbugs
as a maven parameter, either in a local maven build, or on HIPP.
Add releng/findbugs-exclude.xml to control the errors shown by FindBugs.
The content of that file was copied from the TM project, but should
eventually be ajusted for CDT.
Change-Id: Ibc8348b9286f00580a4079a7ca3c669708bc6194
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
There is a superfluous LINE_MAIN_BEFORE_THREAD_START that is causing
problems, remove it.
Change-Id: I57c4637ada0b5efda2848029e5216a13cf638067
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Requires a couple of changes in the autotools plug-ins. Change the
4.5 target to refer to the remote 2.0 build and update the pom to
use the 4.5 target.
Also fixes autotools test so they run on the Mac.
Change-Id: I145de3ea3f14d61ffba7354ad0fa3e0ec2467e26
This permits derived classes to reimplement the logic for getting
expression value without copy-pasting the logic for getting type.
Change-Id: I21b048afaee8433d17e873b7aaf4f7b118edd107
This reverts commit a3147f85b0.
The regression manifests itself only during indexing but doesn't produce unresolved symbols in C++ editor. Restoring the original change since the regression is relatively benign. Will continue to investigate.
Change-Id: I1fdfb4c31a0d5c08c3bc88baaf11d36c708cd883
Java classes are defined and a pretty simple native library for
Mac is there. Tested with Arduino so I know reading works. This
implementation should work for Linux as well. Windows is going to
be the hard one.
Not checking in the binaries yet until I get more testing with them.
Also remove ppc native libraries for Mac since that hasn't been
supported in a long time.
Change-Id: If4ffbc6e73a7656a47c2f45b875be0842c482b05
Note that
memory/org.eclipse.cdt.debug.ui.memory.traditional/.settings/.api_filters
needs to be kept because:
1- it removes warnings about implementing provisional APIs
2- that plugin sets warnings as errors, so warnings are not allowed
Change-Id: Id4bcc9cd78c4c6678ef749cfe276e5a9945efa1e
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
non-matching overload in scope at point of declaration
Change-Id: I2fc42e9ef9258c3c56791001217572fdd08f5025
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>