clang, clang++, clang-format, clang-tidy: add German translation (#9427)

* clang, clang++, clang-format, clang-tidy: add German translation

* Update pages.de/common/clang-format.md

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages.de/common/clang-tidy.md

Co-authored-by: pixel <pixel+github@chrissx.de>

* Update pages.de/common/clang-tidy.md

Co-authored-by: pixel <pixel+github@chrissx.de>

---------

Co-authored-by: pixel <pixel+github@chrissx.de>
This commit is contained in:
Spicyyboi
2023-02-21 07:56:04 +01:00
committed by GitHub
parent 3d77e1a35c
commit 846b6422c7
4 changed files with 93 additions and 0 deletions

20
pages.de/common/clang-tidy.md Executable file
View File

@@ -0,0 +1,20 @@
# clang-tidy
> Ein LLVM-basierter C/C++ Linter zum Finden von Stilverletzungen, Bugs und Sicherheitsmängeln durch statische Codeanalyse.
> Weitere Information: <https://clang.llvm.org/extra/clang-tidy/>.
- Führe die Standard-Checks für eine Quelldatei aus:
`clang-tidy {{pfad/zu/quelldatei.cpp}}`
- Prüfe nur ob eine Datei den `cppcoreguidelines` Checks entspricht:
`clang-tidy {{pfad/zu/quelldatei.cpp}} -checks={{-*,cppcoreguidelines-*}}`
- Liste alle verfügbaren Checks auf:
`clang-tidy -checks={{*}} -list-checks`
- Lege defines und includes als Kompilierungsoptionen fest (nach `--`):
`clang-tidy {{pfad/zu/quelldatei.cpp}} -- -I{{mein_projekt/include}} -D{{definitions}}`