================
@@ -481,18 +481,22 @@ bool
CPlusPlusLanguage::CxxMethodName::TrySimplifiedParse() {
m_basename = full.substr(basename_begin, basename_end - basename_begin);
}
- if (IsTrivialBasename(m_basename)) {
+ // if the context has a white space it may have a return type.
----------------
da-viper wrote:
Yes I did handle `int main()` correctly, I can remove that test case.
https://github.com/llvm/llvm-project/pull/169652
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits