Previously, format::getStyle assumes that the given file resides in
the real file system, which prevents the use of virtual file system in testing etc.
This patch adds a parameter in format::getStyle interface so that users can specify
the right file system. By default, the file system is the real file system.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Format/Format.cpp | ||
---|---|---|
2149–2151 | Prefer .str to .c_str, the former is nicely typed. (here and below) |
I think this comment is redundant. I'd remove it.