Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/test/lit.cfg.py | ||
---|---|---|
19 | .cu is specified several times there. It looks like the change is not necessary at the line |
What's with the .keep files. Will lit or sphinx fail if the cuda directory doesn't exist, if not I'd be happier removing them(they'd get removed once the first cuda check lands anyway).
clang-tools-extra/clang-tidy/cuda/CudaTidyModule.cpp | ||
---|---|---|
2 | Google... It may be easier/safer to use the add_new_check script to generate this, then just remove all the new check specific files. | |
clang-tools-extra/docs/ReleaseNotes.rst | ||
98 ↗ | (On Diff #460070) | Put it in here. |
152 ↗ | (On Diff #460070) | This line doesn't belong in the new checks portion of the release notes, just stick it in the general clang-tidy section. |
clang-tools-extra/docs/clang-tidy/index.rst | ||
143 ↗ | (On Diff #460070) | Unnecessary edit can be removed. |
241 ↗ | (On Diff #460070) | Ditto. |
clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/cuda/cuda-initializers.h | ||
2 | What's the purpose of this file here, do you envision many checks requiring to include this? | |
clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/cuda/cuda.h | ||
4 | This looks worrying as test cases don't run with a standard library |
clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/stddef.h | ||
---|---|---|
12 ↗ | (On Diff #460520) | If this is all the file is used for, and it's only used for this one test file, can probably remove this header and inline the definition. |
clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/stddef.h | ||
---|---|---|
12 ↗ | (On Diff #460520) | I wanted to add it in a separate header for future proofness; as for the definition, I cannot really use uint64_t here since I cannot include the real stddef.h |
clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/stddef.h | ||
---|---|---|
12 ↗ | (On Diff #460520) | using size_t = decltype(sizeof(0)); is a better way to spell this, and I'd probably inline it rather than add a new header file. |
Google...
It may be easier/safer to use the add_new_check script to generate this, then just remove all the new check specific files.