Fixed code that exceeds 72 columns.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
openmp/runtime/src/include/omp_lib.h.var | ||
---|---|---|
222 | I think a better way to reduce the line length is to remove optional "kind=" from the attribute. E.g. integer(omp_allocator_handle_kind)llvm_omp_target_device_mem_alloc will fit into 72 char length. In general there is no reliable way to have line continuation suitable for both fixed and free source forms, |
I think a better way to reduce the line length is to remove optional "kind=" from the attribute. E.g.
will fit into 72 char length.
In general there is no reliable way to have line continuation suitable for both fixed and free source forms,
because compilers usually have an option to change default line length, possibly up to "infinite" (e.g. -ffixed-line-length-0 for gfortran).
So having & at the end of line and beginning of the next line can always fail to compile with some compiler options.
Better to avoid this "universal" continuation if possible.