I am testing with VS2022 and VA 2636 under Windows 11, in case this matters.
I don't think I have the right test for your second problem. I have started with a simple C++ 17 console solution. Compiling as C++ 17 since I don't know if you have previously defined the namespaces individually or not.
In the header file "code_inspect_namespace_test.h" I have:
namespace FELINE::BLAZE::TESTING_DEEP
{
void testFunctionThreeSpacesDeep() { }
}
namespace FELINE::BLAZE
{
void testFunctionTwoSpacesDeep() { }
}
this is the first, and only place that these namespaces are declared.
In the main cpp file I have:
#include "code_inspect_namespace_test.h"
int main()
{
FELINE::BLAZE::testFunctionTwoSpacesDeep();
void *pSimplePtr = NULL;
std::cout << "Hello World!\n";
}
Code Inspection is only picking up NULL should be nullptr. Nothing for the #include statement.
If you have a small code sample you are able to send me, you can email me at [email protected], no need to post anything publicly. Any code would be treated as confidential, and only used to pin down the bug. Not sure if this helps or not, but worth saying in case it does help.