clang-format中文出错

clang-format中文出错

(金庆的专栏)

VS2015 Community + clang-format
(Visual Studio plugin installer, based on SVN r262937)

新建了一个Win32 Console应用,执行clang-format出错。



删除中文凝视就执行成功。

编码改为utf8, 不管是否有BOM头,都是出错。



原文地址:https://www.cnblogs.com/mthoutai/p/7323945.html