[PATCH] D94472: [clang][cli] Manually generate header search arguments

Jan Svoboda via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 12 01:19:53 PST 2021


jansvoboda11 created this revision.
jansvoboda11 added reviewers: dexonsmith, Bigcheese.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This patch implements generation of remaining header search arguments.
It's done manually in C++ as opposed to TableGen, because we need the flexibility and don't anticipate reuse.

This patch doesn't include tests. Instead, a follow-up patch Dxxx runs "parse, generate, parse" round-trip on every compiler invocation. That way, this code gets exercised by the suite of Clang's end-to-end tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94472

Files:
  clang/lib/Frontend/CompilerInvocation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94472.316017.patch
Type: text/x-patch
Size: 5246 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210112/a558c003/attachment-0001.bin>


More information about the cfe-commits mailing list