1.. title:: clang-tidy - cert-dcl58-cpp 2 3cert-dcl58-cpp 4============== 5 6Modification of the ``std`` or ``posix`` namespace can result in undefined 7behavior. 8This check warns for such modifications. 9 10Examples: 11 12.. code-block:: c++ 13 14 namespace std { 15 int x; // May cause undefined behavior. 16 } 17 18 19This check corresponds to the CERT C++ Coding Standard rule 20`DCL58-CPP. Do not modify the standard namespaces 21<https://www.securecoding.cert.org/confluence/display/cplusplus/DCL58-CPP.+Do+not+modify+the+standard+namespaces>`_. 22