Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Side by Side Diff: docs/clang_tidy.md

Issue 2847533005: Remove references to debian wheezy sysroot (Closed)
Patch Set: nits Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | infra/scripts/legacy/scripts/slave/chromium/sizes.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Clang Tidy 1 # Clang Tidy
2 2
3 [TOC] 3 [TOC]
4 4
5 ## Danger, Will Robinson! 5 ## Danger, Will Robinson!
6 6
7 Support for `clang-tidy` in Chromium is very experimental, and is somewhat 7 Support for `clang-tidy` in Chromium is very experimental, and is somewhat
8 painful to use. We are exploring making it easier and integrating with existing 8 painful to use. We are exploring making it easier and integrating with existing
9 tools, but aren't there yet. If you don't want to wait and enjoy tinkering, 9 tools, but aren't there yet. If you don't want to wait and enjoy tinkering,
10 forge ahead. Otherwise, feel free to turn back now. 10 forge ahead. Otherwise, feel free to turn back now.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 -checks=<CHECKS> \ 84 -checks=<CHECKS> \
85 -header-filter=<FILTER> \ 85 -header-filter=<FILTER> \
86 -fix \ 86 -fix \
87 chrome/browser 87 chrome/browser
88 ``` 88 ```
89 89
90 \*It's not clear which, if any, `gn` flags may cause issues for `clang-tidy`. 90 \*It's not clear which, if any, `gn` flags may cause issues for `clang-tidy`.
91 I've had no problems building a component release build, both with and without 91 I've had no problems building a component release build, both with and without
92 goma. if you run into issues, let us know! 92 goma. if you run into issues, let us know!
93 93
94 ## Troubleshooting
95
96 If you see errors like
97 ```
98 src/build/linux/debian_wheezy_amd64-sysroot/usr/include/wchar.h:40:11: error: 's tdarg.h' file not found [clang-diagnostic-error]
99 ```
100
101 then you should also build the `clang-headers` target in your llvm checkout.
102 This is fixed by http://reviews.llvm.org/D22046, so if your llvm checkout is
103 up-to-date, this shouldn't be needed.
104
105 ## Questions 94 ## Questions
106 95
107 Questions? Reach out to rdevlin.cronin@chromium.org or thakis@chromium.org. 96 Questions? Reach out to rdevlin.cronin@chromium.org or thakis@chromium.org.
108 Discoveries? Update the doc! 97 Discoveries? Update the doc!
OLDNEW
« no previous file with comments | « no previous file | infra/scripts/legacy/scripts/slave/chromium/sizes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698