Lines Matching +full:- +full:- +full:coverage
10 # No printf-return-value optimizations in clang
14 # But clang has problems compiling these with -fno-freestanding.
17 # clang flags for coverage generation
19 set_compiler_property(PROPERTY coverage -fprofile-instr-generate -fcoverage-mapping)
21 set_compiler_property(PROPERTY coverage --coverage -fno-inline)
25 set_compiler_property(PROPERTY diagnostic -fcolor-diagnostics)
28 set_compiler_property(PROPERTY save_temps -save-temps)
30 # clang doesn't handle the -T flag
31 set_compiler_property(PROPERTY linker_script -Wl,-T)
39 -Wall
40 -Wformat
41 -Wformat-security
42 -Wno-format-zero-length
43 -Wno-unused-but-set-variable
44 -Wno-typedef-redefinition
45 -Wno-deprecated-non-prototype
49 check_set_compiler_property(APPEND PROPERTY warning_base -Wdouble-promotion)
51 check_set_compiler_property(APPEND PROPERTY warning_base -Wno-pointer-sign)
54 check_set_compiler_property(APPEND PROPERTY warning_base -Wpointer-arith)
56 # clang options for warning levels 1, 2, 3, when using `-DW=[1|2|3]`
58 -Wextra
59 -Wunused
60 -Wno-unused-parameter
61 -Wmissing-declarations
62 -Wmissing-format-attribute
65 -Wold-style-definition
66 -Wmissing-prototypes
67 -Wmissing-include-dirs
68 -Wunused-but-set-variable
69 -Wno-missing-field-initializers
73 -Waggregate-return
74 -Wcast-align
75 -Wdisabled-optimization
76 -Wnested-externs
77 -Wshadow
81 -Wlogical-op
82 -Wmissing-field-initializers
86 -Wbad-function-cast
87 -Wcast-qual
88 -Wconversion
89 -Wpacked
90 -Wpadded
91 -Wpointer-arith
92 -Wredundant-decls
93 -Wswitch-default
97 -Wpacked-bitfield-compat
98 -Wvla
104 -Wno-sometimes-uninitialized
105 -Wno-self-assign
106 -Wno-address-of-packed-member
107 -Wno-unused-function
108 -Wno-initializer-overrides
109 -Wno-section
110 -Wno-unused-variable
111 -Wno-gnu
115 -Werror=vla
116 -Wimplicit-fallthrough
117 -Wconversion
118 -Woverride-init
121 set_compiler_property(PROPERTY no_global_merge "-mno-global-merge")