[PATCH] D78235: [clangd] Store ppdirective in Inclusion

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 14:55:27 PDT 2020


sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang-tools-extra/clangd/Headers.h:55
+  Range R;               // Inclusion range.
+  std::string Directive; // Directive used for inclusion, e.g. import
+  std::string Written;   // Inclusion name as written e.g. <vector>.
----------------
nit: why not store as tok::PPKeywordKind?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78235





More information about the cfe-commits mailing list