[PATCH] D70164: [Tooling][JSONCompilationDatabase] Fix backslash escaping on Windows

liu hui via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 13 01:00:45 PST 2019


lh123 marked an inline comment as done.
lh123 added inline comments.


================
Comment at: clang/lib/Tooling/JSONCompilationDatabase.cpp:153
   assert(Syntax == JSONCommandLineSyntax::Gnu);
   CommandLineArgumentParser parser(EscapedCommandLine);
   return parser.parse();
----------------
I think we can use `TokenizeGNUCommandLine` instead of `CommandLineArgumentParser`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70164/new/

https://reviews.llvm.org/D70164





More information about the cfe-commits mailing list