[PATCH] D59759: [clangd] Add .cu files to VSCode extension

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 25 07:47:51 PDT 2019


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


================
Comment at: clang-tools-extra/clangd/clients/clangd-vscode/src/extension.ts:72
     const filePattern: string = '**/*.{' +
-        ['cpp', 'c', 'cc', 'cxx', 'c++', 'm', 'mm', 'h', 'hh', 'hpp', 'hxx', 'inc'].join() + '}';
+        ['cpp', 'c', 'cc', 'cu', 'cxx', 'c++', 'm', 'mm',
+            'h', 'hh', 'hpp', 'hxx', 'inc'].join()
----------------
nit: worth a comment documenting the behavior of `.cu`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59759





More information about the cfe-commits mailing list