Current revision contains bug, related to evaluation of global variables. Imagine you have the following code
int _g = 1;
int func(void) {
int _g = 2;
return _g; // BP here and evaluate ::_g
}evaluation of ::_g will return 2, while the correct value is 1
Another example:
namespace test {
int test_var = 1;
}
int test_var = 2;
int func(void) {
using namespace test;
return ::test_var; // BP here and try to evaluate ::test_var
}Evaluation will return error (multiple candidates), while correct behaviour is to return '2'
Indenting in clang is 2 spaces.