Skip to content

Commit 514b853

Browse files
[mlir] Fix the build
This patch fixes: llvm/include/llvm/ADT/SmallVector.h:1162:7: error: implicit instantiation of undefined template 'std::basic_string<char>' This happens under -DCMAKE_CXX_FLAGS="-stdlib=libc++".
1 parent 0a4be78 commit 514b853

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/include/mlir/Conversion/ConvertToEmitC/ConvertToEmitCPass.h

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "llvm/ADT/SmallVector.h"
1313

1414
#include <memory>
15+
#include <string>
1516

1617
namespace mlir {
1718
class Pass;

0 commit comments

Comments
 (0)