[cfe-dev] clang-format for visual studio 2012

Qianyou Pan qianyou.pan at gmail.com
Thu Mar 27 12:17:35 PDT 2014


Recorded as bug 19265

http://llvm.org/bugs/show_bug.cgi?id=19265

Thanks,
- Q


On Wed, Mar 26, 2014 at 4:07 PM, Hans Wennborg <hans at chromium.org> wrote:

> (Sending from the correct email address this time..)
>
> On Wed, Mar 26, 2014 at 3:30 AM, Manuel Klimek <klimek at google.com> wrote:
> > On Tue, Mar 25, 2014 at 6:05 PM, Qianyou Pan <qianyou.pan at gmail.com>
> wrote:
> >>
> >> Hello cfe-dev,
> >>
> >> I am trying clang-format visual studio plugin. Inside visual studio
> 2012,
> >> formatter works great with its default options (seems to be LLVM style).
> >> However, when changing the style to file _clang-format or
> .clang-format, it
> >> seems not using the supplied style. What might be wrong here?  I tried
> to
> >> put this file in a few places but with no luck. Also within the command
> >> line, it also works as expected. Any suggestions?
> >
> >
> > I think Hans is using it with a special config, and has some tips...
>
> I haven't used it with a special config from inside Visual Studio.
>
> I'm not sure what's going on here, but I can imagine the plugin
> doesn't look in the right dir for the file.
>
> Qianyou: can you file a bug for this at http://llvm.org/bugs ?
>
> Thanks,
> Hans
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140327/76ece5df/attachment.html>


More information about the cfe-dev mailing list