Skip to content

Commit 553436e

Browse files
akuegeldaniel-grumberg
authored andcommitted
[clang] Add static_cast to fix Bazel build.
Differential Revision: https://reviews.llvm.org/D124995
1 parent 2de6c52 commit 553436e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/ExtractAPI/ExtractAPIConsumer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,8 @@ bool ExtractAPIAction::PrepareToExecuteAction(CompilerInstance &CI) {
927927
HeaderContents += "\"\n";
928928
else
929929
HeaderContents += ">\n";
930-
KnownInputFiles.emplace_back(*RelativeName, IsQuoted);
930+
KnownInputFiles.emplace_back(static_cast<SmallString<32>>(*RelativeName),
931+
IsQuoted);
931932
} else {
932933
HeaderContents += " \"";
933934
HeaderContents += FilePath;

0 commit comments

Comments
 (0)