summaryrefslogtreecommitdiff
path: root/external/apache2/llvm/dist/clang/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2023-07-08 16:13:00 +0000
committerrillig <rillig@NetBSD.org>2023-07-08 16:13:00 +0000
commit9299a7c5194512b0d5ea06c7b286d4bae6640791 (patch)
treec91e393a4af29d255b4af29197c80f1202c0f6f2 /external/apache2/llvm/dist/clang/lib/CodeGen/CGExprAgg.cpp
parent96e65dba728fddd2104244f530812358469a0896 (diff)
lint: warn about pointer casts between different kinds of types
Pointer casts from an integer type to a floating-point type and vice versa get a 'maybe troublesome' warning now. The previous assumption that all types of the same bit-size are convertible may have been valid from a technical point of view, but still such code should get more attention. The rules for struct and union types could be made more fine-grained later, if the need arises. To suppress this warning, it's always possible to cast to an intermediate 'void *'.
Diffstat (limited to 'external/apache2/llvm/dist/clang/lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
.bin/gcc4/libcpp?id=331828317b465f01fda03364753d0e87930057fb'>mknative generated files for hppa and GCC4. seems to kinda of build, not run...mrg 2006-05-20generated sh5 mknative GCC4 files. seems to build ok, but as-yet untested.mrg 2006-05-20add mknative files for sh3* and GCC4. these build the basics but bombmrg 2006-05-20generated sparc and m68k GCC4 mknative files. these are only buildmrg 2006-05-19generated mknative files for amd64 and GCC4. not tested but a releasemrg 2006-05-19add alpha native supportdrochner 2006-05-19add generated mknative files for mipseb platforms. evbmips/mipseb getsmrg 2006-05-18GCC4 mknative files for armeb (big endian) and mipsel (little endian.)mrg 2006-05-17generate arm (little endian) mknative files. "evbarm" release builds,mrg 2006-05-15regenerate with fixed mknative-gcc.mrg 2006-05-10add the build framework for in-tree GCC4 programs, and the mknativemrg