Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
The variable STI is only used in assert, so there will be 'used variable' warnings when doing release build.
llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp | ||
---|---|---|
1220 | I kinda like assert(expression && ....);, since it prints the asserted expression - maybe we can use the void-casting trick we already have for "pseudo expand limit reached"? Say: assert(STI. && ...); (void)STI; |
I kinda like assert(expression && ....);, since it prints the asserted expression - maybe we can use the void-casting trick we already have for "pseudo expand limit reached"?
Say: