llvm-project/mlir/unittests/Parser
Rahul Kayaith 55cf53fd0f [mlir][Parser] Make parse{Attribute,Type} null-terminate input
`parseAttribute` and `parseType` require null-terminated strings as
input, but this isn't great considering the argument type is
`StringRef`. This changes them to copy to a null-terminated buffer by
default, with a `isKnownNullTerminated` flag added to disable the
copying.

closes #58964

Reviewed By: rriddle, kuhar, lattner

Differential Revision: https://reviews.llvm.org/D145182
2023-03-03 17:03:27 -05:00
..
CMakeLists.txt
ParserTest.cpp [mlir][Parser] Make parse{Attribute,Type} null-terminate input 2023-03-03 17:03:27 -05:00
ResourceTest.cpp