Hopefully makes the code more readable and allows
us to re-use argument pretty-printing code from
the CPlusPlusLanguage plugin in a follow-up commit.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/source/Core/FormatEntity.cpp | ||
---|---|---|
1057 | Would be nice to rewrite this on top of StringRef at some point. |
lldb/source/Core/FormatEntity.cpp | ||
---|---|---|
1057 | After we stop using this for c++, I think we should replace this code with something really simple (e.g., drop everything after the first (), and tell everyone to write their language plugins if they need more. |
lldb/source/Core/FormatEntity.cpp | ||
---|---|---|
1057 | FYI @aprantl we have a copy of all this in the Swift fork: https://github.com/apple/llvm-project/blob/next/lldb/source/Plugins/Language/Swift/SwiftLanguage.cpp#L1386 Curious whether some of that can be trimmed. Not familiar enough with Swift syntax to say for sure. But looks like some of it could be re-used from FormatEntity |
Would be nice to rewrite this on top of StringRef at some point.