[llvm-bugs] [Bug 36383] New: .inl files ignored by Visual Studio extension

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 14 07:42:17 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36383

            Bug ID: 36383
           Summary: .inl files ignored by Visual Studio extension
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mikhail.matrosov at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

Install Clang-Format extension for Visual Studio 2017. Open Visual Studio, go
to Tools->Options->Clang/LLVM, see option "File extensions". This is the
default value:
.c;.cpp;.cxx;.cc;.tli;.tlh;.h;.hh;.hpp;.hxx;.hh;.inl.java;.js;.ts;.m;.mm;.proto;.protodevel;.td

Note how semicolon is missed between .inl and .java. Because of this, when you
open .inl file in Visual Studio, it is not formatted on save. 

The manual fix is easy: just add semicolon after you installed the extension.
But it would be nice if you fixed the defaults.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180214/75be7cb9/attachment-0001.html>


More information about the llvm-bugs mailing list