mathiasdm / cdt Goto Github PK
View Code? Open in Web Editor NEWThis project forked from eclipse-cdt/cdt
C/C++ Development Tooling (CDT) project repository (cdt)
Home Page: http://eclipse.org/cdt
This project forked from eclipse-cdt/cdt
C/C++ Development Tooling (CDT) project repository (cdt)
Home Page: http://eclipse.org/cdt
org.eclipse.cdt.internal.ui.text.c.hover
When using implement method,
void blah(const char* arg, ...);
gets as an implementation
void blah(const char* arg) {
}
Make a quickfix 'implement inherited pure virtual methods'.
See the suggestion for an Eclipse checker for unreachable code: https://bugs.eclipse.org/bugs/show_bug.cgi?id=310285
Some include statements, such as <stdio.h> cannot be resolved.
Build up knowledge of the AST and the indexer to find out how to resolve these statements.
A more advanced ControlFlowGraphBuilder could detect more dead code.
Example:
int i = 5;
if(i < 3) {
//doSomething <-- this is dead code
}
Suppose a macro with a few arguments:
BLABLA(argument)
If a user enters: BLABLA(x | y)
If the argument is not surrounded by brackets in the macro expansion, a warning should be shown.
Initialisation of variables in a switch can lead to compilation errors. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=363663
C and C++ make it very easy to add new header includes, but also to build up a huge include structure.
Including a single header can in fact result in hundreds of headers being added to the source code (even though only a few headers are used).
A first issue is transitive header includes.
You include header A, header A includes header B, and in fact, you only need header B. This is a so-called 'transitive header include'. It could be fixed by removing the include of A and adding an include of B.
A second issue is useless header includes. Often headers are added at some point during the project. As the source code changes, these headers might not be needed anymore.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.