OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:warn_unused_result
(Results
1 - 25
of
111
) sorted by null
1
2
3
4
5
/external/clang/test/SemaObjC/
method-warn-unused-attribute.m
4
- (id) foo __attribute__((
warn_unused_result
));
5
- (void) garf __attribute__((
warn_unused_result
)); // expected-warning {{attribute '
warn_unused_result
' cannot be applied to Objective-C method without return value}}
6
- (int) fee __attribute__((
warn_unused_result
));
7
+ (int) c __attribute__((
warn_unused_result
));
12
[a fee]; // expected-warning {{ignoring return value of function declared with
warn_unused_result
attribute}}
13
[INTF c]; // expected-warning {{ignoring return value of function declared with
warn_unused_result
attribute}}
/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 {
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
]] ();
/external/chromium/base/memory/
scoped_temp_dir.h
32
bool CreateUniqueTempDir()
WARN_UNUSED_RESULT
;
35
bool CreateUniqueTempDirUnderPath(const FilePath& path)
WARN_UNUSED_RESULT
;
39
bool Set(const FilePath& path)
WARN_UNUSED_RESULT
;
42
bool Delete()
WARN_UNUSED_RESULT
;
scoped_nsobject.h
72
NST* release()
WARN_UNUSED_RESULT
{
145
id release()
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/chromium/net/test/
python_utils.h
23
bool GetPythonRunTime(FilePath* path)
WARN_UNUSED_RESULT
;
test_server.h
111
bool Start()
WARN_UNUSED_RESULT
;
120
bool GetAddressList(AddressList* address_list) const
WARN_UNUSED_RESULT
;
140
bool SetPythonPath()
WARN_UNUSED_RESULT
;
143
bool LaunchPython(const FilePath& testserver_path)
WARN_UNUSED_RESULT
;
146
bool WaitToStart()
WARN_UNUSED_RESULT
;
150
bool ParseServerData(const std::string& server_data)
WARN_UNUSED_RESULT
;
156
bool LoadTestRootCert()
WARN_UNUSED_RESULT
;
/external/chromium/chrome/browser/automation/
automation_provider_json.h
53
std::string* error)
WARN_UNUSED_RESULT
;
61
std::string* error)
WARN_UNUSED_RESULT
;
71
std::string* error)
WARN_UNUSED_RESULT
;
/external/chromium/base/
compiler_specific.h
97
// int foo()
WARN_UNUSED_RESULT
;
99
#define
WARN_UNUSED_RESULT
__attribute__((
warn_unused_result
))
101
#define
WARN_UNUSED_RESULT
base_paths_mac.mm
20
bool GetNSExecutablePath(FilePath* path)
WARN_UNUSED_RESULT
;
openssl_util.h
33
T* release()
WARN_UNUSED_RESULT
{
/external/kernel-headers/original/linux/usb/
functionfs.h
175
static int functionfs_init(void) __attribute__((
warn_unused_result
));
179
__attribute__((
warn_unused_result
, nonnull));
186
__attribute__((
warn_unused_result
, nonnull));
190
__attribute__((
warn_unused_result
, nonnull));
194
__attribute__((
warn_unused_result
, nonnull));
/external/chromium/chrome/browser/cocoa/
scoped_authorizationref.h
68
AuthorizationRef release()
WARN_UNUSED_RESULT
{
/external/chromium/chrome/browser/policy/
enterprise_install_attributes.h
37
LockResult LockDevice(const std::string& user)
WARN_UNUSED_RESULT
;
/libcore/include/
ScopedLocalRef.h
44
T release() __attribute__((
warn_unused_result
)) {
UniquePtr.h
67
T* release() __attribute__((
warn_unused_result
)) {
113
T* release() __attribute__((
warn_unused_result
)) {
/external/chromium/base/files/
file_path_watcher.h
49
bool Watch(const FilePath& path, Delegate* delegate)
WARN_UNUSED_RESULT
;
79
Delegate* delegate)
WARN_UNUSED_RESULT
= 0;
file_path_watcher_win.cc
46
WARN_UNUSED_RESULT
;
49
bool UpdateWatch()
WARN_UNUSED_RESULT
;
/external/chromium/base/mac/
scoped_cftyperef.h
72
CFT release()
WARN_UNUSED_RESULT
{
/external/chromium/chrome/browser/autofill/
autofill_manager.h
177
AutoFillHost** host)
WARN_UNUSED_RESULT
;
179
RenderViewHost** host) const
WARN_UNUSED_RESULT
;
185
FormStructure** form_structure) const
WARN_UNUSED_RESULT
;
194
AutofillField** autofill_field)
WARN_UNUSED_RESULT
;
/external/chromium/chrome/browser/download/
download_prefs.h
43
// TODO(phajdan.jr): Add
WARN_UNUSED_RESULT
here.
/external/clang/test/Misc/
ast-dump-attr.cpp
26
[[clang::
warn_unused_result
]] int TestCXX11DeclAttr();
/frameworks/native/include/utils/
UniquePtr.h
75
T* release() __attribute__((
warn_unused_result
)) {
121
T* release() __attribute__((
warn_unused_result
)) {
/external/bison/lib/
hash.h
31
The
warn_unused_result
attribute appeared first in gcc-3.4.0. */
Completed in 760 milliseconds
1
2
3
4
5