Clang-Format 个人常用配置
2024-09-05 10:13:06
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
最新文章
- HTTP报文详解
- linux 无法解压过大文件解决
- 修復jquery的tablesorter对加了千分位的数字无法正确排序的bug
- Excel的 OleDb 连接串的格式
- 36.java_exception_test
- shell 分割字符串存至数组
- Python数据类型之变量
- mysql5.6 主从复制
- NIO中的易筋经
- seek()对中文偏移测试
- centos 系统上如何把python升级为3
- form表单的三个属性 action 、mothod 、 enctype。
- 深入浅出:5G和HTTP
- 2.7 清除FTP服务器文件
- 前端 --- 1 HTML
- lua --- 局部变量
- cms的使用与总结
- CocoaPods :为iOS程序提供依赖管理的工具(yoowei)
- 原生js封装dom操作库
- C#-WebForm-JS知识:基础部分、BOM部分、DOM部分、JS事件
热门文章
- c++interview
- 【LeetCode】362. Design Hit Counter 解题报告 (C++)
- 【九度OJ】题目1153:括号匹配问题 解题报告
- 【LeetCode】862. Shortest Subarray with Sum at Least K 解题报告(C++)
- 【LeetCode】953. Verifying an Alien Dictionary 解题报告(Python)
- 【LeetCode】823. Binary Trees With Factors 解题报告(Python)
- 1289 - LCM from 1 to n
- 教学日志:javaSE-面向对象1
- Laravel 使用 maatwebsite/excel 时长数字出现科学计数法的解决办法
- 编写Java程序,使用 Java 的 I/O 流将 H:\eclipse.zip 文件拷贝至 E 盘下,重新命名为 eclipse 安装 .zip。