chrchr-github

Results 24 issues of chrchr-github

`&=` is tokenized as `& =`: ~~~c int g(int i, int j) { return h(i &= ~j, i &= j); } ~~~ ~~~ // don't combine &= if it is...

From https://github.com/llvm/llvm-project/issues/112122: ~~~c #define FOO(a, b, c) a ## b ## c, a ## ## c FOO (x, , y) FOO (x, 42, y) ~~~ Output: ~~~ xy , x#...

bug

https://sourceforge.net/p/cppcheck/discussion/development/thread/73af296865 ~~~c++ #define ADDER_S(a,b) a+b #define ADDER(x) ADDER_S(x) #define ARGUMENTS 1, 2 #define RUN ADDER(ARGUMENTS) int test(void) { //ADDER(ARGUMENTS); // Works RUN; // Fails!! return 0; } ~~~ It looks...

Input: `__attribute()##8;` `gcc/clang -E`: `__attribute()##8;` `cppcheck -E`: `__attribute ( )8 ;` ==> `)8` is one token https://trac.cppcheck.net/ticket/13165

bug