Avalon1610

- Total activity 10
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 2
-
Avalon1610 commented, -
-
Avalon1610 created a post, code inspection [readability-simplify-boolean-expr] does not work propertly
std::map<int, int> map; bool func() { auto a = map.find(123); if (a==map.end()) { a->second += 10; return true; } return false; } this code will prompte "Redundant boolean literal in conditional ... -
Avalon1610 commented, -
-
-
-
Avalon1610 created a post, code inspection clang-diagnostic-writable-strings not working propertly
for this code: const char* test(const char* param) { char* a = "test"; // get warning, correct. const char* b = "test"; // get warning, which should not const char* c = ...