IsEmpty() and operator bool() == false have equal semantics. Usage in Mangled::GetDemangledName() was incorrect. What it actually wants is a check for null-string. Split this off of D50071 and added a test to clarify usage.
Details
Details
- Reviewers
labath jingham - Commits
- rG4af5a83a4883: Add ConstString::IsNull() to tell between null vs. empty strings and fix usage…
rLLDB339014: Add ConstString::IsNull() to tell between null vs. empty strings and fix usage…
rL339014: Add ConstString::IsNull() to tell between null vs. empty strings and fix usage…
Diff Detail
Diff Detail
- Repository
- rL LLVM