Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
llvm-watermarker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nagayama15
llvm-watermarker
Commits
af1bb13f
Commit
af1bb13f
authored
Nov 15, 2018
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README.mdに命名規約について記述
parent
44a03f48
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
README.md
README.md
+26
-0
No files found.
README.md
View file @
af1bb13f
...
...
@@ -11,3 +11,29 @@ OS: Ubuntu 18.04 (WSL)
Compilers: GCC 7.3.0, Clang 6.0.0
Libraries: LLVM
## 命名規約
| 種別 | 規約 | 理由 | 備考 |
|:-----|:----:|:-----|:-----|
| 型 | UpperCamelCase | 慣例 | |
| 名前空間 | snake
\_
case | 好み | |
| ローカル変数/引数 | snake
\_
case | なんとなく | |
| グローバル変数 | g
\_
snake
\_
case | 慣例 | 使わない |
| ファイルローカル変数 | snake
\_
case | 慣例 |
`static`
ではなくanonymous namespaceを使う |
| 関数 | snake
\_
case | なんとなく | |
| メンバ変数 | snake
\_
case
\_
| 慣例 | |
|
`static`
メンバ変数 | snake
\_
case | なんとなく | 必要なければ避ける |
| メンバ関数 | snake
\_
case | なんとなく | |
| メンバ変数 | snake
\_
case
\_
| 慣例 | |
| メンバ型 | snake
\_
case | 標準準拠 | |
| 列挙子 | UpperCamelCase | 好み | かっこいい気がする |
| マクロ | SNAKE
\_
CASE | 慣例 | 必要ある時のみ |
## ビルド方法
TODO
## 実行方法
TODO
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment