<div dir="ltr">Hi,<div><br></div><div>I would like to add support for editor placeholder to Clang's lexer. The placeholder tokens will function similarly to the placeholders in the Swift compiler:</div><div><br></div><div>- An editor placeholder token starts with '<#' and ends with '#>'.</div><div>- When lexing the source that contains placeholders:</div><div>  - Clang will report an error when it finds the placeholder token.</div><div>  - Then the lexer will treat the placeholders as if they were expanded, e.g. given:</div><div><br></div><div>  void Class::method(<#int x#>)</div><div><br></div><div>The parser will see the tokens that correspond to the following source:</div><div><br></div><div>  void Class::method(int x)</div><div><br></div><div>Do you have any feedback/requests? Should placeholders be recognized at all times or just when Clang is used by the editor?</div><div><br></div><div>Cheers,</div><div>Alex</div><div><br></div></div>