[PATCH] D92012: [clangd][query-driver] Extract target

Aleksandr Platonov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 04:49:01 PST 2020


ArcsinX updated this revision to Diff 307585.
ArcsinX added a comment.

Add structure to hold system includes and target.
Use state machine to go though lines of the driver output.
Handle invalid target
Use '--target=X' instead of '-target X'


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92012

Files:
  clang-tools-extra/clangd/QueryDriverDatabase.cpp
  clang-tools-extra/clangd/test/system-include-extractor.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92012.307585.patch
Type: text/x-patch
Size: 9351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201125/7ed7a163/attachment.bin>


More information about the cfe-commits mailing list