C++ analysis rules