Clang-Format 个人常用配置

本文记录 Clang-Format 个人常用配置。

欲了解更多配置选项,可查阅 官方文档

BasedOnStyle: Google
AccessModifierOffset: -2
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
ColumnLimit: 120
Cpp11BracedListStyle: false
DerivePointerAlignment: false
IndentWidth: 4

转载请注明出处。原文地址:https://www.cnblogs.com/na-sr/p/clang-format.html

最新文章

  1. HTTP报文详解
  2. linux 无法解压过大文件解决
  3. 修復jquery的tablesorter对加了千分位的数字无法正确排序的bug
  4. Excel的 OleDb 连接串的格式
  5. 36.java_exception_test
  6. shell 分割字符串存至数组
  7. Python数据类型之变量
  8. mysql5.6 主从复制
  9. NIO中的易筋经
  10. seek()对中文偏移测试
  11. centos 系统上如何把python升级为3
  12. form表单的三个属性 action 、mothod 、 enctype。
  13. 深入浅出:5G和HTTP
  14. 2.7 清除FTP服务器文件
  15. 前端 --- 1 HTML
  16. lua --- 局部变量
  17. cms的使用与总结
  18. CocoaPods :为iOS程序提供依赖管理的工具(yoowei)
  19. 原生js封装dom操作库
  20. C#-WebForm-JS知识:基础部分、BOM部分、DOM部分、JS事件

热门文章

  1. c++interview
  2. 【LeetCode】362. Design Hit Counter 解题报告 (C++)
  3. 【九度OJ】题目1153:括号匹配问题 解题报告
  4. 【LeetCode】862. Shortest Subarray with Sum at Least K 解题报告(C++)
  5. 【LeetCode】953. Verifying an Alien Dictionary 解题报告(Python)
  6. 【LeetCode】823. Binary Trees With Factors 解题报告(Python)
  7. 1289 - LCM from 1 to n
  8. 教学日志:javaSE-面向对象1
  9. Laravel 使用 maatwebsite/excel 时长数字出现科学计数法的解决办法
  10. 编写Java程序,使用 Java 的 I/O 流将 H:\eclipse.zip 文件拷贝至 E 盘下,重新命名为 eclipse 安装 .zip。