add autoinfo in C/C++ file