MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / foo2

Function foo2

tests/ClassOperatorHandler7Test.cpp:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31
32template <typename T>
33bool foo2() {
34 std::vector<T> vec;
35 //vec._M_impl; // 'vec' is identified as part of 'CXXDependentScopeMemberExpr' but access to member field '_M_impl' is not and it's completely missing from the AST
36 return vec.empty(); // 'vec' is identified as part of 'CXXDependentScopeMemberExpr' but call expression 'empty' is not and it's completely missing from the AST
37}
38
39bool bar() {
40 std::vector<int> vec;

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected