OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:warn_unused_result
(Results
1 - 25
of
36
) sorted by null
1
2
/external/fio/compiler/
compiler-gcc3.h
6
#define __must_check __attribute__((
warn_unused_result
))
compiler-gcc4.h
5
#define __must_check __attribute__((
warn_unused_result
))
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
sal.h
11
# define __inner_checkReturn __attribute__((
warn_unused_result
))
/external/clang/test/SemaCXX/
cxx11-attr-print.cpp
31
// CHECK: int f1() __attribute__((
warn_unused_result
));
32
int f1() __attribute__((
warn_unused_result
));
34
// CHECK: {{\[}}[clang::
warn_unused_result
]];
35
int f2 [[clang::
warn_unused_result
]] ();
37
// CHECK: {{\[}}[gnu::
warn_unused_result
]];
38
int f3 [[gnu::
warn_unused_result
]] ();
warn-unused-result.cpp
3
int f() __attribute__((
warn_unused_result
));
8
S g1() __attribute__((
warn_unused_result
));
9
S *g2() __attribute__((
warn_unused_result
));
10
S &g3() __attribute__((
warn_unused_result
));
37
int foo() __attribute__((
warn_unused_result
));
53
struct [[clang::
warn_unused_result
]] Status {
88
class [[clang::
warn_unused_result
]] StatusOr {
102
struct [[clang::
warn_unused_result
]] Status;
/external/v8/src/base/
compiler-specific.h
51
// int foo()
WARN_UNUSED_RESULT
;
53
#define
WARN_UNUSED_RESULT
__attribute__((
warn_unused_result
))
55
#define
WARN_UNUSED_RESULT
/* NOT SUPPORTED */
/libnativehelper/include/nativehelper/
ScopedFd.h
39
int release() __attribute__((
warn_unused_result
)) {
ScopedLocalRef.h
45
T release() __attribute__((
warn_unused_result
)) {
UniquePtr.h
68
T* release() __attribute__((
warn_unused_result
)) {
112
T* release() __attribute__((
warn_unused_result
)) {
/external/clang/test/Sema/
unused-expr.c
77
int t5f(void) __attribute__((
warn_unused_result
));
79
t5f(); // expected-warning {{ignoring return value of function declared with
warn_unused_result
}}
83
int fn1() __attribute__ ((
warn_unused_result
));
91
fn1(); // expected-warning {{ignoring return value of function declared with
warn_unused_result
attribute}}
95
(void)0, fn1(); // expected-warning {{ignoring return value of function declared with
warn_unused_result
attribute}}
99
int t7 __attribute__ ((
warn_unused_result
)); // expected-warning {{'
warn_unused_result
' attribute only applies to functions}}
102
int (*fn4)(void) __attribute__ ((
warn_unused_result
));
104
fn4(); // expected-warning {{ignoring return value of function declared with
warn_unused_result
attribute}}
107
void t9() __attribute__((
warn_unused_result
)); // expected-warning {{attribute 'warn_unused_result' cannot be applied to functions without ret (…)
[
all
...]
/external/conscrypt/src/compat/native/
ScopedLocalRef.h
44
T release() __attribute__((
warn_unused_result
)) {
UniquePtr.h
72
T* release() __attribute__((
warn_unused_result
)) {
123
T* release() __attribute__((
warn_unused_result
)) {
/external/ceres-solver/include/ceres/internal/
macros.h
150
#define CERES_MUST_USE_RESULT __attribute__ ((
warn_unused_result
))
/bionic/libc/private/
UniquePtr.h
69
T* release() __attribute__((
warn_unused_result
)) {
119
T* release() __attribute__((
warn_unused_result
)) {
/external/clang/test/Misc/
ast-dump-attr.cpp
26
[[clang::
warn_unused_result
]] int TestCXX11DeclAttr();
/external/parameter-framework/bindings/c/
ParameterFramework.h
54
#define USERESULT __attribute__((
warn_unused_result
))
/system/core/base/include/base/
macros.h
129
#define WARN_UNUSED __attribute__((
warn_unused_result
))
/system/extras/perfprofd/quipper/base/
compiler_specific.h
151
// int foo()
WARN_UNUSED_RESULT
;
154
#define
WARN_UNUSED_RESULT
__attribute__((
warn_unused_result
))
156
#define
WARN_UNUSED_RESULT
/external/skia/include/core/
SkPreConfig.h
89
#define SK_WARN_UNUSED_RESULT __attribute__((
warn_unused_result
))
/art/runtime/base/
macros.h
176
#define WARN_UNUSED __attribute__((
warn_unused_result
))
/external/sfntly/cpp/
CMakeLists.txt
25
add_definitions(-D__wur=__attribute__\(\(
warn_unused_result
\)\) -Wall -Werror -fno-exceptions)
/external/llvm/include/llvm/Support/
Compiler.h
125
#if __has_attribute(
warn_unused_result
) || LLVM_GNUC_PREREQ(3, 4, 0)
/external/v8/include/
v8config.h
176
// V8_HAS_ATTRIBUTE_WARN_UNUSED_RESULT - __attribute__((
warn_unused_result
))
212
(__has_attribute(
warn_unused_result
))
/external/nanopb-c/
pb_encode.c
9
/* Use the GCC
warn_unused_result
attribute to check that all return values
16
#define checkreturn __attribute__((
warn_unused_result
))
/external/protobuf/gtest/include/gtest/internal/
gtest-port.h
569
#define GTEST_MUST_USE_RESULT_ __attribute__ ((
warn_unused_result
))
[
all
...]
Completed in 386 milliseconds
1
2