[PATCH] D124995: [clang] Add static_cast to fix Bazel build.
Adrian Kuegel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 5 01:30:08 PDT 2022
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcc344d262a2e: [clang] Add static_cast to fix Bazel build. (authored by akuegel).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124995/new/
https://reviews.llvm.org/D124995
Files:
clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
Index: clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
===================================================================
--- clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
+++ clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
@@ -927,7 +927,8 @@
HeaderContents += "\"\n";
else
HeaderContents += ">\n";
- KnownInputFiles.emplace_back(*RelativeName, IsQuoted);
+ KnownInputFiles.emplace_back(static_cast<SmallString<32>>(*RelativeName),
+ IsQuoted);
} else {
HeaderContents += " \"";
HeaderContents += FilePath;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124995.427238.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220505/47a524dc/attachment.bin>
More information about the cfe-commits
mailing list