This is an archive of the discontinued LLVM Phabricator instance.

[lldb][NFCI] Remove unneeded use of ConstString in ASTResultSynthesizer
ClosedPublic

Authored by bulbazord on Jun 27 2023, 11:39 AM.

Details

Summary

2/3 of the ConstStrings in this class were just to be able to log
something. Putting something in the StringPool just to log it doesn't
make a lot of sense, so let's remove them.

The remaining use is for RegisterPersistentDecl which is fine for now.

Diff Detail

Event Timeline

bulbazord created this revision.Jun 27 2023, 11:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 11:39 AM
bulbazord requested review of this revision.Jun 27 2023, 11:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 11:39 AM

Remove unneeded newline from log line

kastiglione accepted this revision.Jun 28 2023, 10:50 AM
This revision is now accepted and ready to land.Jun 28 2023, 10:50 AM