Add a parserSourceFile function that takes a file path directly
authorMehdi Amini <aminim@google.com>
Sat, 23 Mar 2019 05:17:10 +0000 (22:17 -0700)
committerjpienaar <jpienaar@google.com>
Sat, 30 Mar 2019 00:32:43 +0000 (17:32 -0700)
commit0f5602ae3d90c25b96bd843a82aa51f63cc1c5ec
treef0d01b989ba6be82ee712de1ec9c9b0f43afdb12
parent94764ee0366aa0dad8d63013c7a10b09ef8e8a41
Add a parserSourceFile function that takes a file path directly

This avoids adding boilerplate around the SourceMgr on the client.

PiperOrigin-RevId: 239918122
mlir/include/mlir/Parser.h
mlir/lib/Parser/Parser.cpp