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
92
) sorted by null
1
2
3
4
/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
));
/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}}
98
int t7 __attribute__ ((
warn_unused_result
)); // expected-warning {{'
warn_unused_result
' attribute only applies to functions}}
101
int (*fn4)(void) __attribute__ ((
warn_unused_result
));
103
fn4(); // expected-warning {{ignoring return value of function declared with
warn_unused_result
attribute}}
106
void t9() __attribute__((
warn_unused_result
)); // expected-warning {{attribute '
warn_unused_result
' cannot be applied to functions without return value}
[
all
...]
/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
{
scoped_ptr.h
119
C* release()
WARN_UNUSED_RESULT
{
226
C* release()
WARN_UNUSED_RESULT
{
343
C* release()
WARN_UNUSED_RESULT
{
/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
;
/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
;
file_path_watcher_browsertest.cc
177
FilePathWatcher::Delegate* delegate)
WARN_UNUSED_RESULT
{
190
bool WaitForEvents()
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.
/frameworks/native/include/utils/
UniquePtr.h
75
T* release() __attribute__((
warn_unused_result
)) {
121
T* release() __attribute__((
warn_unused_result
)) {
/libcore/include/
UniquePtr.h
67
T* release() __attribute__((
warn_unused_result
)) {
113
T* release() __attribute__((
warn_unused_result
)) {
/external/chromium/base/i18n/
rtl.h
136
WARN_UNUSED_RESULT
;
144
WARN_UNUSED_RESULT
;
/external/chromium/chrome/browser/extensions/
isolated_app_apitest.cc
23
bool
WARN_UNUSED_RESULT
HasCookie(TabContents* contents, std::string cookie) {
Completed in 868 milliseconds
1
2
3
4