Skip to content

Commit 7b44d96

Browse files
kazutakahirataGeorgeARM
authored andcommitted
[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 e14055b commit 7b44d96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
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)