chrchr-github

Results 24 issues of chrchr-github

This input ~~~~ #pragma comment(linker, "foo \ bar") ~~~~ gets processed to a single closing `)`. I suspect the problem is somewhere near line 671 in simplecpp.cpp (TokenList::readfile). Found while...

bug
needs-test

https://trac.cppcheck.net/ticket/12379 ~~~ #include #include #include void f() { std::size_t i; const std::vector v{"4", "2"}; // Some comment\ for(i = 0U; i < v.size(); ++i) { std::cout

From https://trac.cppcheck.net/ticket/12105 ~~~ void g(const char*); #define HASH_TOKEN_IN_MACRO( A ) g( #A ) void f() { HASH_TOKEN_IN_MACRO ( #ifdef SW "Message 1" #else "Message 2" #endif ); } ~~~ `foo.cpp:5:...

Co-authored-by: Dominik Strasser