You copied the Doc URL to your clipboard.

--allow_null_this, --no_allow_null_this

Allows and disallows null this pointers in C++.


Allowing null this pointers gives well-defined behavior when a nonvirtual member function is called on a null object pointer.

Disallowing null this pointers enables the compiler to perform optimizations, and conforms with the C++ standard.


The default is --no_allow_null_this.

Was this page helpful? Yes No