mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 05:40:09 +00:00
[clang-doc] Use SmallString::operator std::string (NFC)
This commit is contained in:
parent
10b1c29e39
commit
21edd381e4
@ -457,7 +457,7 @@ writeFileDefinition(const Location &L,
|
||||
Node->Children.emplace_back(std::make_unique<TextNode>(" of file "));
|
||||
auto LocFileNode = std::make_unique<TagNode>(
|
||||
HTMLTag::TAG_A, llvm::sys::path::filename(FileURL));
|
||||
LocFileNode->Attributes.emplace_back("href", std::string(FileURL.str()));
|
||||
LocFileNode->Attributes.emplace_back("href", std::string(FileURL));
|
||||
Node->Children.emplace_back(std::move(LocFileNode));
|
||||
return Node;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user