HomeSort by relevance Sort by last modified time
    Searched refs:warn_unused_result (Results 1 - 25 of 32) 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))
  /external/clang/test/SemaCXX/
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));
47 struct [[clang::warn_unused_result]] Status {
83 struct [[clang::warn_unused_result]] Status;
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]] ();
  /bionic/libc/private/
ScopedFd.h 39 int release() __attribute__((warn_unused_result)) {
UniquePtr.h 69 T* release() __attribute__((warn_unused_result)) {
119 T* release() __attribute__((warn_unused_result)) {
  /external/chromium_org/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 */
  /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))
  /external/chromium_org/mojo/public/c/system/
macros.h 24 #define MOJO_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
32 // that has been marked WARN_UNUSED_RESULT, wrap it with this. Example:
  /external/chromium_org/third_party/webrtc/
typedefs.h 101 // int foo() WARN_UNUSED_RESULT;
104 #if !defined(WARN_UNUSED_RESULT)
106 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
108 #define WARN_UNUSED_RESULT
110 #endif // WARN_UNUSED_RESULT
  /external/clang/test/Misc/
ast-dump-attr.cpp 26 [[clang::warn_unused_result]] int TestCXX11DeclAttr();
  /external/chromium_org/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/chromium_org/third_party/skia/include/core/
SkPreConfig.h 89 #define SK_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  /art/runtime/base/
macros.h 179 #define WARN_UNUSED __attribute__((warn_unused_result))
  /external/chromium_org/third_party/WebKit/Source/wtf/
Compiler.h 196 #define WARN_UNUSED_RETURN __attribute__ ((warn_unused_result))
  /external/chromium_org/third_party/webrtc/base/
common.h 215 // int foo() WARN_UNUSED_RESULT;
219 #if !defined(WARN_UNUSED_RESULT)
221 #define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
223 #define WARN_UNUSED_RESULT
225 #endif // WARN_UNUSED_RESULT
  /external/llvm/include/llvm/Support/
Compiler.h 144 #if __has_attribute(warn_unused_result) || __GNUC_PREREQ(3, 4)
  /external/chromium_org/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/chromium_org/third_party/cython/src/Cython/Compiler/
FlowControl.py 563 warn_unused_result = compiler_directives['warn.unused_result']
624 if assmt.entry.cf_references and warn_unused_result:
    [all...]
  /external/chromium_org/testing/gtest/include/gtest/internal/
gtest-port.h     [all...]
  /external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
gtest-port.h 630 # define GTEST_MUST_USE_RESULT_ __attribute__ ((warn_unused_result))
    [all...]

Completed in 1722 milliseconds

1 2