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": {
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": {
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits