Cleanup of D105191 after latest clang-format changes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp | ||
---|---|---|
118 | The usual style for "named parameters" in LLVm is AddStaticDeviceLibsLinking(C, *this, JA, Inputs, Args, CmdArgs, "amdgcn", SubArchName, /*isBitCodeSDL=*/true, /*postClangLink=*/false); |
Comment Actions
what @thakis said, this isn't normally my area but this is one of the files that has reverted its "clang-format clean" status with recent commits.
Comment Actions
To me you should be doing
/*bitcode SDL=*/true
It looks like its still failing clang-format might I suggest making the changes to the comment, git adding the file then doing
git clang-format
This will clang-format your staged files.
Comment Actions
Nit: That is more correct, but actually, you normally make the comment match the param name (I think there might even be a clang-tidy check for that?)
i.e.
/*isBitCodeSDL=*/
The usual style for "named parameters" in LLVm is