Giter Club home page Giter Club logo

cdt's People

Contributors

angvoz avatar aniefer avatar bogg avatar crecoskie avatar elaskavaia avatar eugeneo avatar fchouinard avatar gaetanosanst avatar jamesblackburn avatar jarrah42 avatar jld01 avatar kos avatar markz3 avatar mathiasdm avatar mhussein avatar mikhailkhod avatar mtombosch avatar norbert-p avatar obusatto avatar pchuong avatar randyrohrbach avatar sprigogin avatar stepavich avatar sukidog avatar teddotnet avatar treggiari avatar vivkong avatar vprus avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cdt's Issues

Implement method fix

When using implement method,
void blah(const char* arg, ...);
gets as an implementation
void blah(const char* arg) {
}

Needs brackets

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.

Check for unused and transitive header includes

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.