This replaces the C strings in the TypeSystem API with StringRefs. Also removes all the
StringRef locals that were previously used in the implementation as they are no longer necessary.
Details
- Reviewers
augusto2112 kastiglione
Diff Detail
Event Timeline
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp | ||
---|---|---|
8235 | Was this check unnecessary? |
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp | ||
---|---|---|
8235 | I probably should have commented on this. At the start of the function we already do the same check: if (!enum_type || ConstString(name).IsEmpty()) return nullptr; Still, thanks for the careful review :) |
clang-tidy: error: 'lldb/Core/Address.h' file not found [clang-diagnostic-error]
not useful