[PATCH] D63397: [clangd] Detect C++ for extension-less source files in vscode extension

Marc-Andre Laperle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 23:16:58 PDT 2019


malaperle added a comment.

In D63397#1696000 <https://reviews.llvm.org/D63397#1696000>, @malaperle wrote:

> "Extend our extension to support detecting these files as C++ files based on the first
>  line (-*- C++ -*-), it will make clangd work on C++ standard headers
>  (e.g. iostream)."
>
> This is not in the standard right? I don't see this in MSVC, so it wouldn't work there.


Never mind, I just saw r363662


Repository:
  rL LLVM

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

https://reviews.llvm.org/D63397





More information about the llvm-commits mailing list