[PATCH] D64741: [clangd] Added highlighting for tokens that are macro arguments.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 02:48:33 PDT 2019


ilya-biryukov added a comment.

How should this behave when if the same token is used multiple times inside a macro and the uses are different? Could we add this to tests?
E.g.

  #define W(a) class a { void test() { int a = 10; } }
  W(foo); // <-- `foo` is a variable of a class?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64741





More information about the cfe-commits mailing list