MTC added a comment. The implementation is not complicated, the difficulty is that there is no good way to get the qualified name without template arguments. For 'std::basic_string::c_str()', its qualified name may be `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::c_str`, it is almost impossible for users to provide such a name. So one possible implementation is to use `std`, `basic_string` and `c_str` to match in the `std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::c_str` sequentially.
Repository: rC Clang https://reviews.llvm.org/D48027 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits