[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++".
This commit is contained in:
Kazu Hirata 2025-05-01 10:51:54 -07:00
parent 0a4be7898a
commit 514b853972

View File

@ -12,6 +12,7 @@
#include "llvm/ADT/SmallVector.h"
#include <memory>
#include <string>
namespace mlir {
class Pass;