Home
last modified time | relevance | path

Searched +full:- +full:wextra (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/external/clang/test/Misc/
Ddiag-format.c1 // RUN: %clang -fsyntax-only %s 2>&1 | FileCheck %s -check-prefix=DEFAULT
2 // RUN: %clang -fsyntax-only -fdiagnostics-format=clang %s 2>&1 | FileCheck %s -check-prefix=DEFAULT
3 // RUN: %clang -fsyntax-only -fdiagnostics-format=clang -target x86_64-pc-win32 %s 2>&1 | FileCheck…
5 // RUN: %clang -fsyntax-only -fdiagnostics-format=msvc -fmsc-version=1300 %s 2>&1 | FileCheck %s -
6 // RUN: %clang -fsyntax-only -fdiagnostics-format=msvc -fms-compatibility-version=13.00 %s 2>&1 | …
7 // RUN: %clang -fsyntax-only -fdiagnostics-format=msvc -fmsc-version=1300 -target x86_64-pc-win32 %…
8 … RUN: %clang -fsyntax-only -fdiagnostics-format=msvc -fms-compatibility-version=13.00 -target x86_…
9 … RUN: %clang -fsyntax-only -fdiagnostics-format=msvc -fmsc-version=1300 -target x86_64-pc-win32 -f…
10 // RUN: %clang -fsyntax-only -fdiagnostics-format=msvc -fmsc-version=1800 -target x86_64-pc-win32 %…
11 // RUN: %clang -fsyntax-only -fdiagnostics-format=msvc -target x86_64-pc-win32 %s 2>&1 | FileCheck …
[all …]
/external/pigweed/pw_ide/py/
Dcpp_test.py7 # https://www.apache.org/licenses/LICENSE-2.0
22 # pylint: disable=protected-access
53 def test_with_target_includes_target(self) -> None:
62 def test_without_target_omits_target(self) -> None:
71 def test_with_target_includes_target(self) -> None:
79 def test_without_target_omits_target(self) -> None:
93 def run_test(self, path: Path, expected_target: Optional[str]) -> None:
97 def test_correct_target_from_path(self) -> None:
239 ) -> None:
252 def run_process_test_with_invalid_commands(self, command: str) -> None:
[all …]
/external/clang/test/Parser/
Dcxx-extra-semi.cpp1 // RUN: %clang_cc1 -fsyntax-only -pedantic -verify -DPEDANTIC %s
2 // RUN: %clang_cc1 -fsyntax-only -Wextra-semi -verify %s
3 // RUN: %clang_cc1 -fsyntax-only -Wextra-semi -verify -std=c++11 %s
5 // RUN: %clang_cc1 -x c++ -Wextra-semi -fixit %t
6 // RUN: %clang_cc1 -x c++ -Wextra-semi -Werror %t
12 // This warning is only produced if we specify -Wextra-semi, and not if only
13 // -pedantic is specified, since one semicolon is technically permitted.
14 // expected-warning@-4{{extra ';' after member function definition}}
16 void A2b() { };; // expected-warning{{extra ';' after member function definition}} in A2b()
17 ; // expected-warning{{extra ';' inside a class}}
[all …]
/external/oss-fuzz/projects/http-parser/
Dbuild.sh1 #!/bin/bash -eu
8 # http://www.apache.org/licenses/LICENSE-2.0
18 cd http-parser
21 $CC $CFLAGS -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -c fuzzers/fuzz_parser.c -o fuzz_pars…
22 $CXX $CXXFLAGS $LIB_FUZZING_ENGINE -Wall -Wextra -Werror http_parser.o fuzz_parser.o -o $OUT/fuzz_p…
24 $CC $CFLAGS -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -c fuzzers/fuzz_url.c -o fuzz_url.o
25 $CXX $CXXFLAGS $LIB_FUZZING_ENGINE -Wall -Wextra -Werror http_parser.o fuzz_url.o -o $OUT/fuzz_url
/external/nos/host/generic/
DAndroid.bp8 // http://www.apache.org/licenses/LICENSE-2.0
21 // Added automatically by a large-scale-change that took the approach of
34 // See: http://go/android-license-faq
39 "SPDX-license-identifier-Apache-2.0",
40 "SPDX-license-identifier-BSD",
56 "-Wno-unused-parameter",
66 "libprotobuf-cpp-full",
84 … = "$(location aprotoc) --plugin=protoc-gen-nos-client-cpp=$(location protoc-gen-nos-client-cpp) $…
86 GEN_SERVICE_SOURCE = GEN_SERVICE + " --nos-client-cpp_out=source:$(genDir) "
87 GEN_SERVICE_HEADER = GEN_SERVICE + " --nos-client-cpp_out=header:$(genDir) "
[all …]
/external/angle/third_party/abseil-cpp/absl/copts/
DGENERATED_AbseilCopts.cmake22 "-Wno-deprecated-declarations"
23 "-Wno-implicit-int-conversion"
24 "-Wno-missing-prototypes"
25 "-Wno-missing-variable-declarations"
26 "-Wno-shadow"
27 "-Wno-shorten-64-to-32"
28 "-Wno-sign-compare"
29 "-Wno-sign-conversion"
30 "-Wno-unreachable-code-loop-increment"
31 "-Wno-unused-function"
[all …]
DGENERATED_copts.bzl23 "-Wno-deprecated-declarations",
24 "-Wno-implicit-int-conversion",
25 "-Wno-missing-prototypes",
26 "-Wno-missing-variable-declarations",
27 "-Wno-shadow",
28 "-Wno-shorten-64-to-32",
29 "-Wno-sign-compare",
30 "-Wno-sign-conversion",
31 "-Wno-unreachable-code-loop-increment",
32 "-Wno-unused-function",
[all …]
/external/cronet/third_party/abseil-cpp/absl/copts/
DGENERATED_AbseilCopts.cmake22 "-Wno-deprecated-declarations"
23 "-Wno-implicit-int-conversion"
24 "-Wno-missing-prototypes"
25 "-Wno-missing-variable-declarations"
26 "-Wno-shadow"
27 "-Wno-shorten-64-to-32"
28 "-Wno-sign-compare"
29 "-Wno-sign-conversion"
30 "-Wno-unreachable-code-loop-increment"
31 "-Wno-unused-function"
[all …]
DGENERATED_copts.bzl23 "-Wno-deprecated-declarations",
24 "-Wno-implicit-int-conversion",
25 "-Wno-missing-prototypes",
26 "-Wno-missing-variable-declarations",
27 "-Wno-shadow",
28 "-Wno-shorten-64-to-32",
29 "-Wno-sign-compare",
30 "-Wno-sign-conversion",
31 "-Wno-unreachable-code-loop-increment",
32 "-Wno-unused-function",
[all …]
/external/pcre/.github/workflows/
Dbuild.yml8 runs-on: ubuntu-latest
10 - name: Checkout
13 - name: Autogen
16 - name: Configure
17 …run: ./configure CPPFLAGS='-Wall -Wextra' --enable-jit --enable-pcre2-8 --enable-pcre2-16 --enable
19 - name: Build
22 - name: Test (main test script)
25 - name: Test (JIT test program)
28 - name: Test (pcre2grep test script)
33 runs-on: ubuntu-latest
[all …]
/external/sg3_utils/lib/
DMakefile.am69 # This is active if --enable-debug given to ./configure
70 # removed -Wduplicated-branches because needs gcc-8
71 DBG_CFLAGS = -Wextra -Wmisleading-indentation -Wduplicated-cond -Wlogical-op -Wnull-dereference -Ws…
72 DBG_CPPFLAGS = -DDEBUG
79 ## CC = gcc-9
84 ## CC = powerpc64-linux-gnu-gcc
86 # -std=<s> can be c99, c11, gnu11, etc. Default is gnu11 for C code
87 # -Wall is no longer all warnings. Add -W (since renamed to -Wextra) for more
88 AM_CPPFLAGS = -iquote ${top_srcdir}/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $(DBG_CPPF…
89 AM_CFLAGS = -Wall -W $(DBG_CFLAGS)
[all …]
/external/grpc-grpc/third_party/nanopb/tests/
DSConstruct68 # Check if we can use pkg-config to find protobuf include path
69 status, output = conf.TryAction('pkg-config protobuf --variable=includedir > $TARGET')
76 status, output = conf.TryAction('$PROTOC --version > $TARGET')
83 conf.env.Append(CCFLAGS = '-fmudflap')
84 conf.env.Append(LINKFLAGS = '-fmudflap')
87 extra = '-Wcast-qual -Wlogical-op -Wconversion'
88 extra += ' -fstrict-aliasing -Wstrict-aliasing=1'
89 extra += ' -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls'
90 extra += ' -Wstack-protector '
96 extra = '-fsanitize=undefined '
[all …]
/external/nanopb-c/tests/
DSConstruct76 # Check if we can use pkg-config to find protobuf include path
77 status, output = conf.TryAction('pkg-config protobuf --variable=includedir > $TARGET')
84 status, output = conf.TryAction('$PROTOC --version > $TARGET')
91 conf.env.Append(CCFLAGS = '-fmudflap')
92 conf.env.Append(LINKFLAGS = '-fmudflap')
95 extra = '-Wcast-qual -Wlogical-op -Wconversion'
96 extra += ' -fstrict-aliasing -Wstrict-aliasing=1'
97 extra += ' -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls'
98 extra += ' -Wstack-protector '
106 extra = '-fsanitize=undefined,integer -fno-sanitize-recover=undefined,integer '
[all …]
/external/tensorflow/tensorflow/lite/objc/
DBUILD.apple1 # TensorFlow Lite for Objective-C
22 # Compiler flags for building regular non-test libraries.
24 # Enables language-specific warnings for Objective-C, Objective-C++, C, and C++.
25 "-Wall",
27 "-Wdeprecated-declarations",
29 "-Wdocumentation",
31 "-Werror",
32 # Enables extra warning flags that are not enabled by -Wall.
33 "-Wextra",
35 "-Wmissing-prototypes",
[all …]
/external/libgav1/cmake/
Dlibgav1_build_definitions.cmake7 # http://www.apache.org/licenses/LICENSE-2.0
26 # https://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
30 # libtool generates a .so file as .so.[c-a].a.r, while -version-info c:r:a is
33 # We set LIBGAV1_SOVERSION = [c-a].a.r
37 math(EXPR LIBGAV1_SOVERSION_MAJOR "${LT_CURRENT} - ${LT_AGE}")
44 "${libgav1_build}" "${libgav1_root}/third_party/abseil-cpp")
61 if(CMAKE_ANDROID_ARCH_ABI STREQUAL "armeabi-v7a")
66 list(APPEND libgav1_base_cxx_flags "-fno-stack-protector")
70 list(APPEND libgav1_base_cxx_flags "-Wall" "-Wextra" "-Wmissing-declarations"
71 "-Wno-sign-compare" "-fvisibility=hidden"
[all …]
/external/rappor/analysis/cpp/
Drun.sh6 set -o nounset
7 set -o pipefail
8 set -o errexit
11 # NOTE: -O3 does a lot for fast_em. (More than 5x speedup over unoptimized)
13 cpp-compiler() {
14 g++ -Wall -Wextra -O3 "$@"
15 #clang++ -Wall -Wextra -O3 "$@"
18 build-find-cliques() {
19 mkdir -p _tmp
21 cpp-compiler -std=c++0x -o _tmp/find_cliques find_cliques.cc
[all …]
/external/sg3_utils/src/
DMakefile.am39 # This is active if --enable-debug given to ./configure
40 # removed -Wduplicated-branches because needs gcc-8
42 DBG_CFLAGS = -Wextra -Wmisleading-indentation -Wduplicated-cond -Wlogical-op -Wnull-dereference -Ws…
43 DBG_CPPFLAGS = -DDEBUG
50 ## CC = gcc-9
55 ## CC = powerpc64-linux-gnu-gcc
57 # -std=<s> can be c99, c11, gnu11, etc. Default is gnu11
58 # -Wall is no longer all warnings. Add -W (since renamed to -Wextra) for more
59 AM_CPPFLAGS = -iquote ${top_srcdir}/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $(DBG_CPPF…
60 AM_CFLAGS = -Wall -W $(DBG_CFLAGS)
[all …]
/external/libldac/
DAndroid.bp5 // Added automatically by a large-scale-change
7 // large-scale-change included anything that looked like it might be a license
11 // See: http://go/android-license-faq
16 "SPDX-license-identifier-Apache-2.0",
42 // -D_32BIT_FIXED_POINT should be added to cflags for devices without a FPU
43 // unit such as ARM Cortex-R series or external 32-bit DSPs.
44 cflags: ["-O2", "-Werror", "-Wall", "-Wextra"],
52 "//external/oss-fuzz",
74 cflags: ["-O2", "-Werror", "-Wall", "-Wextra"],
/external/zstd/build/single_file_libs/
Dbuild_decoder_test.sh15 CC_FLAGS="-Wall -Wextra -Wshadow -Werror -Os -g0 -flto"
16 emcc $CC_FLAGS -s WASM=1 -I. -o $OUT_WASM $IN_FILES
18 if [ $? -ne 0 ]; then
23 rm -f $OUT_WASM
28 docker container run --rm \
29 --volume $PWD:/code \
30 --workdir /code \
32 emcc $CC_FLAGS -s WASM=1 -I. -o $OUT_WASM $IN_FILES
34 if [ $? -ne 0 ]; then
39 rm -f $OUT_WASM
[all …]
Dbuild_library_test.sh18 CC_FLAGS="-Wall -Wextra -Wshadow -Werror -Os -g0 -flto"
19 emcc $CC_FLAGS -s WASM=1 -I. -o $OUT_WASM $IN_FILES
21 if [ $? -ne 0 ]; then
26 rm -f $OUT_WASM
31 docker container run --rm \
32 --volume $PWD:/code \
33 --workdir /code \
35 emcc $CC_FLAGS -s WASM=1 -I. -o $OUT_WASM $IN_FILES
37 if [ $? -ne 0 ]; then
42 rm -f $OUT_WASM
[all …]
/external/libaom/build/cmake/
Daom_configure.cmake29 Use -DFORCE_HIGHBITDEPTH_DECODING=1 instead of -DCONFIG_LOWBITDEPTH=0 \
30 and -DFORCE_HIGHBITDEPTH_DECODING=0 instead of -DCONFIG_LOWBITDEPTH=1.")
52 set(AOM_CMAKE_CONFIG "${AOM_CMAKE_CONFIG} -D${cache_var}=${${cache_var}}")
67 FATAL_ERROR "--- Unexpected pointer size (${CMAKE_SIZEOF_VOID_P}) for\n"
94 set(toolchain_string "-DCMAKE_TOOLCHAIN_FILE=\\\"${toolchain_path}\\\"")
99 set(AOM_CMAKE_CONFIG "-DAOM_TARGET_CPU=${AOM_TARGET_CPU} ${AOM_CMAKE_CONFIG}")
101 set(AOM_CMAKE_CONFIG "-G \\\"${CMAKE_GENERATOR}\\\" ${AOM_CMAKE_CONFIG}")
106 message("--- aom_configure: Detected CPU: ${AOM_TARGET_CPU}")
132 # If -fpie or -fPIE are used ensure the assembly code has PIC enabled to
145 # TODO(tomfinegan): clang needs -pie in CMAKE_EXE_LINKER_FLAGS for this to
[all …]
/external/libpalmrejection/
DAndroid.bp9 "SPDX-license-identifier-BSD",
42 "-Wall",
43 "-Wextra",
44 "-Werror",
45 "-Wthread-safety",
46 "-Wshadow",
47 "-Wshadow-field-in-constructor-modified",
48 "-Wshadow-uncaptured-local",
49 "-Wno-unused-parameter",
50 "-Wno-unneeded-internal-declaration",
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/xxhash/tests/collisions/
DMakefile1 # Brute force collision tester for 64-bit hashes
3 # Copyright (C) 2019-2020 Yann Collet
19 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 # - xxHash homepage: https://www.xxhash.com
23 # - xxHash source repository: https://github.com/Cyan4973/xxHash
28 CPPFLAGS += $(addprefix -I ,$(SRC_DIRS))
29 CFLAGS ?= -std=c99 \
30 -Wall -Wextra -Wconversion
31 CXXFLAGS ?= -Wall -Wextra -Wconversion -std=c++11
32 LDFLAGS += -pthread
[all …]
/external/webrtc/third_party/crc32c/src/
DCMakeLists.txt2 # Use of this source code is governed by a BSD-style license that can be
8 # C standard can be overridden when this is used as a sub-project.
16 # C++ standard can be overridden when this is used as a sub-project.
28 if(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
29 string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
30 else(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
32 endif(CMAKE_CXX_FLAGS MATCHES "/W[0-4]")
35 string(REGEX REPLACE "/EH[a-z]+" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
36 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHs-c-")
37 add_definitions(-D_HAS_EXCEPTIONS=0)
[all …]
/external/ruy/ruy/
Dbuild_defs.bzl15 "-Wall",
16 # Some clang-based Windows toolchains have more warnings in -Wextra.
17 "-Wextra",
20 "-Wc++14-compat",
24 "-Wundef",
33 # No need to pass -mfloat-abi=softfp, that is already on.
35 "-mfpu=neon",
44 # On some toolchains, typically mobile, "-c opt" is interpreted by
50 "//conditions:default": ["-O3"],
59 "//ruy:x86_64_and_not_msvc": ["-mavx"],
[all …]

12345678910>>...16