[PATCH] D115604: [Support] Expand `<@>` as the base directory in response files.

Jack Andersen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 23 09:22:21 PST 2021

jackoalan added a comment.

> 1. It it possible to limit the new syntax to config files only? It would avoid concerns of gcc compatibility.

Yes, ultimately this use case only calls for extending config files.

> Is it possible to use more understandable designation, like `<CONFIG>` or something similar?

I agree, keyword directives like this would be more flexible in the long term and the use of shell redirection characters would theoretically protect any general purpose word. For now, I think it is acceptable to consume `<CONFIG>` as a singular token, but in the future, generic `<(.*)>` tokenization may be worth adding.

  rG LLVM Github Monorepo



More information about the cfe-commits mailing list