#ifndef __clang_analyzer__ base->temp2 = (tempStruct2*)(ptr2 + 1); #endif
Seems to work for me, basically making the code dead to the analyzer. Thanks.