[PATCH] D63483: [clangd] Detect C++ language based on well-known file path in vscode extension

Haojian Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 04:50:38 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL363662: [clangd] Detect C++ language based on well-known file path in vscode extension (authored by hokein, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D63483?vs=205300&id=205306#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D63483

Files:
  clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json


Index: clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json
===================================================================
--- clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json
+++ clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json
@@ -52,6 +52,10 @@
     "contributes": {
         "languages": [{
             "id": "cpp",
+            "filenamePatterns": [
+                "**/include/c++/**",
+                "**/MSVC/*/include/**"
+            ],
             "firstLine": "^\/[/*].*-\\*-\\s*C\\+\\+\\s*-\\*-.*"
         }],
         "configuration": {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63483.205306.patch
Type: text/x-patch
Size: 608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190618/8b66cfbc/attachment.bin>


More information about the llvm-commits mailing list