Previously the code split the string at the first '<', which
incorrectly truncated names like operator<.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
lgtm
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | ||
---|---|---|
388–389 | I had to go remind myself why we don't do this in the frontend. The reason is that we put the template arguments in the S_GPROC32 symbol records, but we don't put them in the LF_FUNC_ID records. Can you update this comment to explain why we have to throw away the template arguments here? If we really wanted this to be super clean, we could change DISubprogram to split the name into the basename and the template argument list string, but that seems unnecessary. |
clang-tidy: warning: invalid case style for variable 'openBrackets' [readability-identifier-naming]
not useful