Home
last modified time | relevance | path

Searched +full:- +full:wno +full:- +full:deprecated +full:- +full:declarations (Results 1 – 25 of 93) sorted by relevance

1234

/external/clang/test/Sema/
Dthread-specifier.c1 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic %s…
2 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x…
3 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic %s…
4 …RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c…
5 …c1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -DCXX11…
6 …cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -DC11
17 // expected-warning@-3 {{'__thread' before 'extern'}}
18 // expected-warning@-3 {{'__thread' before 'static'}}
24 // expected-error-re@-2 {{'{{__thread|_Thread_local|thread_local}}' is only allowed on variable dec…
26 // FIXME: The 'is only allowed on variable declarations' diagnostic is better here.
[all …]
Dsurpress-deprecated.c1 // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s
2 // expected-no-diagnostics
3 extern void OldFunction() __attribute__((deprecated));
/external/libusb/
Dtravis-autogen.sh4 CFLAGS="-Wall -Wextra"
6 CFLAGS+=" -Wbad-function-cast"
7 #CFLAGS+=" -Wcast-align"
8 CFLAGS+=" -Wchar-subscripts"
9 CFLAGS+=" -Wempty-body"
10 CFLAGS+=" -Wformat"
11 CFLAGS+=" -Wformat-security"
12 CFLAGS+=" -Winit-self"
13 CFLAGS+=" -Winline"
14 CFLAGS+=" -Wmissing-declarations"
[all …]
DAndroid.bp21 "-Wall",
22 "-Wno-error=sign-compare",
23 "-Wno-error=switch",
41 cflags: ["-Werror"],
56 "-framework CoreFoundation",
57 "-framework IOKit",
58 "-lobjc"
62 "-Wno-unused-parameter",
63 "-Wno-deprecated-declarations"
72 cflags: ["-Werror"],
[all …]
/external/compiler-rt/test/asan/TestCases/Darwin/
Daddress-range-limit.mm1 // Regression test for https://code.google.com/p/address-sanitizer/issues/detail?id=368.
3 // RUN: %clangxx_asan %s -Wno-deprecated-declarations -flat_namespace -bundle -undefined suppress -
4 // RUN: %clangxx_asan %s -Wno-deprecated-declarations -o %t -framework Foundation && not %run %t 2>…
7 #import <mach-o/dyld.h>
20 exit(-1);
26 exit(-1);
35 // CHECK: AddressSanitizer: heap-buffer-overflow
38 // CHECK: is located 0 bytes to the right of 10-byte region
/external/libcxx/utils/google-benchmark/
DCMakeLists.txt22 …set(BENCHMARK_BUILD_32_BITS OFF CACHE BOOL "Build a 32 bit version of the library - unsupported wh…
28 option(BENCHMARK_DOWNLOAD_DEPENDENCIES "Allow the downloading and in-tree building of unmet depende…
39 # FIXME: The --coverage flag needs to be removed when building assembly
81 string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" VERSION ${GIT_VERSION})
94 add_required_cxx_compiler_flag(-m32)
99 string(REGEX REPLACE "[-/]W[1-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
101 add_definitions(-D_CRT_SECURE_NO_WARNINGS)
104 add_cxx_compiler_flag(-EHs-)
105 add_cxx_compiler_flag(-EHa-)
106 add_definitions(-D_HAS_EXCEPTIONS=0)
[all …]
/external/google-benchmark/
DCMakeLists.txt23 …set(BENCHMARK_BUILD_32_BITS OFF CACHE BOOL "Build a 32 bit version of the library - unsupported wh…
29 option(BENCHMARK_DOWNLOAD_DEPENDENCIES "Allow the downloading and in-tree building of unmet depende…
40 # FIXME: The --coverage flag needs to be removed when building assembly
82 string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" VERSION ${GIT_VERSION})
95 add_required_cxx_compiler_flag(-m32)
100 string(REGEX REPLACE "[-/]W[1-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
102 add_definitions(-D_CRT_SECURE_NO_WARNINGS)
105 add_cxx_compiler_flag(-EHs-)
106 add_cxx_compiler_flag(-EHa-)
107 add_definitions(-D_HAS_EXCEPTIONS=0)
[all …]
/external/clang/test/SemaCXX/
Ddeprecated.cpp1 // RUN: %clang_cc1 -std=c++98 %s -Wdeprecated -verify -triple x86_64-linux-gnu
2 // RUN: %clang_cc1 -std=c++11 %s -Wdeprecated -verify -triple x86_64-linux-gnu
3 // RUN: %clang_cc1 -std=c++1y %s -Wdeprecated -verify -triple x86_64-linux-gnu
4 // RUN: %clang_cc1 -std=c++1z %s -Wdeprecated -verify -triple x86_64-linux-gnu
6 // RUN: %clang_cc1 -std=c++1y %s -Wdeprecated -verify -triple x86_64-linux-gnu -Wno-deprecated-regi…
14 // expected-warning@-4 {{dynamic exception specifications are deprecated}} expected-note@-4 {{use '…
15 // expected-warning@-4 {{dynamic exception specifications are deprecated}} expected-note@-4 {{use '…
16 // expected-warning@-4 {{dynamic exception specifications are deprecated}} expected-note@-4 {{use '…
22 // expected-error@-2 {{ISO C++1z does not allow 'register' storage class specifier}} in stuff()
24 // expected-warning@-4 {{'register' storage class specifier is deprecated}} in stuff()
[all …]
/external/llvm/
Dllvm-host-build.mk2 -D_GNU_SOURCE \
3 -D__STDC_LIMIT_MACROS \
4 -fomit-frame-pointer \
5 -Wall \
6 -W \
7 -Wno-sign-compare \
8 -Wno-unused-parameter \
9 -Wno-maybe-uninitialized \
10 -Wno-missing-field-initializers \
11 -Wwrite-strings \
[all …]
DAndroid.bp2 name: "llvm-defaults",
3 defaults: ["llvm-defaults-no-generated-headers"],
4 header_libs: ["llvm-headers"],
6 "-google-build-*",
7 "-google-global-*",
18 name: "llvm-defaults-no-generated-headers",
23 "-D_GNU_SOURCE",
24 "-D__STDC_LIMIT_MACROS",
25 "-D__STDC_CONSTANT_MACROS",
26 "-D__STDC_FORMAT_MACROS",
[all …]
/external/libdrm/
DAndroid.bp2 // Copyright © 2011-2012 Intel Corporation
31 "-DMAJOR_IN_SYSMACROS=1",
32 "-DHAVE_VISIBILITY=1",
33 "-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1",
35 "-Wall",
36 "-Werror",
37 "-Wno-deprecated-declarations",
38 "-Wno-format",
39 "-Wno-gnu-variable-sized-type-not-at-end",
40 "-Wno-pointer-arith",
[all …]
/external/tensorflow/tensorflow/lite/
DAndroid.bp7 // http://www.apache.org/licenses/LICENSE-2.0
21 "-DTF_LITE_DISABLE_X86_NEON",
22 "-Wall",
23 "-Werror",
24 "-Wextra",
25 "-Wno-unused-parameter",
37 "-Wno-typedef-redefinition",
38 "-Wno-visibility",
76 "-Wno-deprecated-declarations",
77 "-Wno-extern-c-compat",
[all …]
Dtflite_static.bp7 // http://www.apache.org/licenses/LICENSE-2.0
145 "-DTF_LITE_DISABLE_X86_NEON",
146 "-DNAMESPACE_FOR_HASH_FUNCTIONS=farmhash",
147 "-Wall",
148 "-Werror",
149 "-Wextra",
150 "-Wno-array-bounds",
151 "-Wno-deprecated-declarations",
152 "-Wno-extern-c-compat",
153 "-Wno-invalid-partial-specialization",
[all …]
/external/clang/test/SemaObjC/
Dmethod-prototype-scope.m1 // RUN: %clang_cc1 -fsyntax-only -Wduplicate-method-arg -verify -Wno-objc-root-class %s
10 - Func:(int)XXXX, id object; // expected-warning {{use of C-style parameters in Objective-C method
12 - doSomethingElseWith:(id)object;
14 - (NSString *)doSomethingWith:(NSString *)object and:(NSArray *)object; // expected-warning {{redec…
15 // expected-note {{previous declaration is here}}
20 - (NSString *)doSomethingWith:(NSString *)object and:(NSArray *)object // expected-warning {{redefi…
21 // expected-note {{previous declaration is here}}
23 …return object; // expected-warning {{incompatible pointer types returning 'NSArray *' from a funct…
26 - Func:(int)XXXX, id object { return object; } // expected-warning {{use of C-style parameters in O…
28 - doSomethingElseWith:(id)object { return object; }
[all …]
Dobjc-cstyle-args-in-methods.m1 // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify -Wno-objc-root-class %s
4 - (id)test:(id)one, id two;
5 - (id)bad:(id)one, id two, double three;
9 - (id)test:(id )one, id two {return two; }
10 - (id)bad:(id)one, id two, double three { return two; }
17 [foo bad:@"One", @"Two"]; // expected-error {{too few arguments to method call}}
19 [foo bad:@"One", @"Two", 3.14, @"Two"]; // expected-error {{too many arguments to method call}}
Dmismatched-undefined-method.m1 // RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s
9 - (void)BrightnessAssistantUnregisterForNotifications:(void*) observer; // expected-note {{previous…
11 @implementation BrightnessAssistant // expected-note {{implementation started here}}
12 - (void)BrightnessAssistantUnregisterForNotifications:(CGDirectDisplayID) displayID, void* observer…
13 @end // expected-error {{expected method body}} // expected-error {{missing '@end'}}
/external/icu/icu4c/source/common/
DAndroid.bp7 // http://www.apache.org/licenses/LICENSE-2.0
25 // We deliberately do not set -DICU_DATA_DIR: ICU4C is configured on Android
28 "-D_REENTRANT",
29 "-DU_COMMON_IMPLEMENTATION",
31 "-O3",
32 "-fvisibility=hidden",
34 "-Wall",
35 "-Werror",
36 "-Wno-unused-parameter",
37 "-Wno-missing-field-initializers",
[all …]
/external/u-boot/tools/
DMakefile1 # SPDX-License-Identifier: GPL-2.0+
3 # (C) Copyright 2000-2006
6 # Enable all the config-independent tools
18 subdir-$(HOST_TOOLS_ALL) += easylogo
19 subdir-$(HOST_TOOLS_ALL) += gdb
22 ENVCRC-$(CONFIG_ENV_IS_EMBEDDED) = y
23 ENVCRC-$(CONFIG_ENV_IS_IN_EEPROM) = y
24 ENVCRC-$(CONFIG_ENV_IS_IN_FLASH) = y
25 ENVCRC-$(CONFIG_ENV_IS_IN_ONENAND) = y
26 ENVCRC-$(CONFIG_ENV_IS_IN_NAND) = y
[all …]
/external/skqp/gn/
DBUILD.gn3 # Use of this source code is governed by a BSD-style license that can be
44 "/utf-8", # Set Source and Executable character sets to UTF-8.
47 cflags += [ "-fms-compatibility-version=19" ] # 2015
71 "-imsvc",
95 "-fstrict-aliasing",
96 "-fPIC",
98 cflags_cc += [ "-std=c++14" ]
101 # These would make stack traces worse on Linux, so we don't just set them willy-nilly.
103 cflags += [ "-fvisibility=hidden" ]
104 cflags_cc += [ "-fvisibility-inlines-hidden" ]
[all …]
/external/skia/gn/
DBUILD.gn3 # Use of this source code is governed by a BSD-style license that can be
44 "/utf-8", # Set Source and Executable character sets to UTF-8.
47 cflags += [ "-fms-compatibility-version=19" ] # 2015
71 "-imsvc",
95 "-fstrict-aliasing",
96 "-fPIC",
98 cflags_cc += [ "-std=c++14" ]
101 # These would make stack traces worse on Linux, so we don't just set them willy-nilly.
103 cflags += [ "-fvisibility=hidden" ]
104 cflags_cc += [ "-fvisibility-inlines-hidden" ]
[all …]
/external/lua/
DAndroid.bp7 // http://www.apache.org/licenses/LICENSE-2.0
19 "-Werror",
20 "-Wall",
21 "-Wno-deprecated-declarations",
22 "-Wno-string-plus-int",
23 "-O2",
24 "-DLUA_USE_LINUX",
25 "-DLUA_COMPAT_5_2",
29 ":liblua-sources"
34 name: "liblua-sources",
/external/rootdev/
DAndroid.bp7 // http://www.apache.org/licenses/LICENSE-2.0
16 "-D_BSD_SOURCE",
17 "-D_FILE_OFFSET_BITS=64",
18 "-D_LARGEFILE_SOURCE",
19 "-include sys/sysmacros.h",
20 "-Wall",
21 "-Werror",
22 "-Wno-deprecated-declarations",
23 "-Wno-sign-compare",
/external/tensorflow/tensorflow/lite/experimental/objc/
DBUILD.apple1 # TensorFlow Lite for Objective-C
21 # Compiler flags for building regular non-test libraries.
23 # Enables language-specific warnings for Objective-C, Objective-C++, C, and C++.
24 "-Wall",
25 # Warns if functions, variables, and types marked with the deprecated attribute are being used.
26 "-Wdeprecated-declarations",
28 "-Wdocumentation",
30 "-Werror",
31 # Enables extra warning flags that are not enabled by -Wall.
32 "-Wextra",
[all …]
/external/libusb-compat/
DMacConfigExternalDebug.xcconfig16 OTHER_CFLAGS=-fexceptions
18 WARNING_CFLAGS=-Wno-deprecated-declarations
DMacConfigExternalRelease.xcconfig5 DEBUG_INFORMATION_FORMAT=dwarf-with-dsym
21 OTHER_CFLAGS=-fexceptions
26 WARNING_CFLAGS=-Wno-deprecated-declarations

1234