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: unassignedclangb...@nondot.org
          Reporter: mikhail.matro...@gmail.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to