c++ - CLion 中 clang 格式的 RawStringFormats 错误
问题描述
我正在尝试clang-format
在 CLion 中使用文件,但 CLion 给了我错误:
Error reading [path to clang-format]: Invalid Argument
该错误与RawStringFormats
我的.clang-format
文件中的有关。当我删除该RawStringFormats
部分时,CLion 没有给我任何错误。
我的.clang-format
文件是由使用 Google 标准的脚本自动生成的。
我需要找出问题的原因,以便我可以修改脚本以防止出现此问题。
RawStringFormats:
- Delimiter: pb
Language: TextProto
BasedOnStyle: google