add .clang-tidy file to mute warnings about using NULL instead of nullptr

use an anonymous union for the CxJsonValue

change cxBufferReserve() to allow reducing the capacity

fix that certain reallocate functions did not properly support size zero

(0) -1000 -300 -100 -30 -10 -4 +4 +10 +30 +100 tip

mercurial