OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:noreturn
(Results
1 - 25
of
828
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/Sema/
attr-noreturn.c
3
static void (*fp0)(void) __attribute__((
noreturn
));
7
static void __attribute__((
noreturn
)) f0(void) {
9
} // expected-warning {{function declared '
noreturn
' should not return}}
12
int f1() __attribute__((
noreturn
));
14
int g0 __attribute__((
noreturn
)); // expected-warning {{'
noreturn
' only applies to function types; type here is 'int'}}
16
int f2() __attribute__((
noreturn
(1, 2))); // expected-error {{'
noreturn
' attribute takes no arguments}}
18
void f3() __attribute__((
noreturn
));
20
return; // expected-warning {{function 'f3' declared '
noreturn
' should not return}
[
all
...]
block-return-2.c
4
^ (void) __attribute__((
noreturn
)) { }(); // expected-error {{block declared '
noreturn
' should not return}}
initialize-noreturn.c
4
typedef void (*Fn_noret)(void) __attribute__((
noreturn
));
8
void foo_noret(void) __attribute__((
noreturn
));
return-noreturn.c
1
// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks -Wmissing-
noreturn
-Wno-unreachable-code
4
void test1() { // expected-warning {{function 'test1' could be declared with attribute '
noreturn
'}}
17
} // expected-warning{{function declared '
noreturn
' should not return}}
21
// because the function is marked
noreturn
and there is an infinite loop.
29
} // expected-warning{{function declared '
noreturn
' should not return}}
32
// PR5298 - -Wmissing-
noreturn
shouldn't warn if the function is already
33
// declared
noreturn
.
34
void __attribute__((
noreturn
))
warn-unused-label.c
8
d: __attribute__((
noreturn
)); // expected-warning {{'
noreturn
' attribute only applies to functions}}
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.noreturn/
p1.cpp
3
[[
noreturn
]] void a() {
4
return; // expected-warning {{function 'a' declared '
noreturn
' should not return}}
6
void a2 [[
noreturn
]] () {
7
return; // expected-warning {{function 'a2' declared '
noreturn
' should not return}}
10
[[
noreturn
,
noreturn
]] void b() { throw 0; } // expected-error {{attribute '
noreturn
' cannot appear multiple times in an attribute specifier}}
11
[[
noreturn
]] [[
noreturn
]] void b2() { throw 0; } // ok
13
[[
noreturn
()]] void c(); // expected-error {{attribute 'noreturn' cannot have an argument list}
[
all
...]
/external/llvm/test/CodeGen/ARM/
2009-08-15-RegScavengerAssert.ll
6
tail call void @exit(i32 undef)
noreturn
nounwind
10
declare void @exit(i32)
noreturn
nounwind
call-noret-minsize.ll
5
define void @t1()
noreturn
minsize nounwind ssp {
12
tail call void @bar()
noreturn
nounwind
16
define void @t2()
noreturn
minsize nounwind ssp {
23
tail call void @t1()
noreturn
nounwind
27
declare void @bar()
noreturn
call-noret.ll
5
define void @t1()
noreturn
nounwind ssp {
14
tail call void @bar()
noreturn
nounwind
18
define void @t2()
noreturn
nounwind ssp {
27
tail call void @t1()
noreturn
nounwind
31
declare void @bar()
noreturn
/external/clang/test/Parser/
objcxx11-attributes.mm
11
void f(X *
noreturn
) {
13
int a[ [
noreturn
getSize] ];
16
int b[ [
noreturn
] ]; // expected-error {{'
noreturn
' attribute only applies to functions}}
18
int c[ [
noreturn
getSize] + 1 ];
21
int d[ [
noreturn
] { return 3; } () ]; // expected-error {{expected ']'}} expected-error {{'
noreturn
' attribute only applies to functions}}
25
[ [ int(),
noreturn
getSelf ] getSize ]; // expected-warning {{unused}}
28
[ [
noreturn
] { return
noreturn
; } () setSize: 4 ]
[
all
...]
/external/llvm/test/Transforms/PruneEH/
simplenoreturntest.ll
3
declare void @
noreturn
()
noreturn
6
call void @
noreturn
( )
/external/llvm/test/Transforms/SimplifyCFG/
noreturn-call.ll
4
declare void @Finisher(i32)
noreturn
7
tail call void @Finisher(i32 %0)
noreturn
8
tail call void @Finisher(i32 %0)
noreturn
/external/clang/test/SemaTemplate/
function-template-specialization-noreturn.cpp
3
// Split from function-template-specialization.cpp because the
noreturn
warning
7
template <int N> void __attribute__((
noreturn
)) f3() { __builtin_unreachable(); }
8
template <> void f3<1>() { } // expected-warning {{function declared '
noreturn
' should not return}}
14
void foo[[
noreturn
]]();
18
void A<0>::foo() {} // expected-warning{{function declared '
noreturn
' should not return}}
/external/clang/test/SemaCXX/
attr-noreturn.cpp
7
__attribute__((
noreturn
)) void fail();
21
__attribute__((
noreturn
)) void fail();
24
~A() __attribute__((
noreturn
)) { fail(); }
28
~B() __attribute__((
noreturn
)) { fail(); }
44
__attribute__((
noreturn
)) void test_1() { A a; }
45
__attribute__((
noreturn
)) void test_2() { B b; }
46
__attribute__((
noreturn
)) void test_3() { C c; }
47
__attribute__((
noreturn
)) void test_4() { D d; }
48
__attribute__((
noreturn
)) void test_5() { E e; }
49
__attribute__((
noreturn
)) void test_6() { F f;
[
all
...]
attr-cxx0x-fixit.cpp
4
[[
noreturn
()]] void f(); // expected-error {{attribute '
noreturn
' cannot have an argument list}} \
/external/clang/test/PCH/Inputs/
chain-decls2.h
12
void noret() __attribute__((
noreturn
));
/external/llvm/test/CodeGen/Generic/
trap.ll
2
define i32 @test()
noreturn
nounwind {
/external/clang/test/CodeGenCXX/
cxx11-noreturn.cpp
6
[[
noreturn
]] int f() {
10
// CHECK: attributes [[NR]] = {
noreturn
nounwind{{.*}} }
/external/clang/test/SemaObjC/
return.m
1
// RUN: %clang_cc1 -fsyntax-only -verify -Wmissing-
noreturn
-fobjc-exceptions -Wno-objc-root-class %s
17
void test3(int a) { // expected-warning {{function 'test3' could be declared with attribute '
noreturn
'}}
25
// issue a
noreturn
warning.
42
void exit(int) __attribute__((
noreturn
));
47
- (void)method { // expected-warning{{method 'method' could be declared with attribute '
noreturn
'}}
/external/llvm/test/Transforms/LoopUnswitch/
cold-loop.ll
12
call void @some_func1()
noreturn
nounwind
29
call void @some_func1()
noreturn
nounwind
33
call void @some_func2()
noreturn
nounwind
38
call void @some_func3()
noreturn
nounwind
39
call void @some_func4()
noreturn
nounwind
46
declare void @some_func1()
noreturn
47
declare void @some_func2()
noreturn
48
declare void @some_func3()
noreturn
49
declare void @some_func4()
noreturn
/external/clang/test/PCH/
functions.h
11
void do_abort(int) __attribute__((
noreturn
));
/external/selinux/policycoreutils/mcstrans/src/
README
2
make clean && env CFLAGS="-Wall -W -Wundef -Wmissing-
noreturn
-Wmissing-format-attribute -DDEBUG -g" LDFLAGS="-g" make
/external/llvm/test/Transforms/FunctionAttrs/
noreturn.ll
3
define void @endless_loop()
noreturn
nounwind readnone ssp uwtable {
13
define i32 @main()
noreturn
nounwind ssp uwtable {
/ndk/sources/cxx-stl/stlport/stlport/stl/
_range_errors.h
43
# pragma
noreturn
(__stl_throw_runtime_error)
44
# pragma
noreturn
(__stl_throw_range_error)
45
# pragma
noreturn
(__stl_throw_out_of_range)
46
# pragma
noreturn
(__stl_throw_length_error)
47
# pragma
noreturn
(__stl_throw_invalid_argument)
48
# pragma
noreturn
(__stl_throw_overflow_error)
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/
_range_errors.h
43
# pragma
noreturn
(__stl_throw_runtime_error)
44
# pragma
noreturn
(__stl_throw_range_error)
45
# pragma
noreturn
(__stl_throw_out_of_range)
46
# pragma
noreturn
(__stl_throw_length_error)
47
# pragma
noreturn
(__stl_throw_invalid_argument)
48
# pragma
noreturn
(__stl_throw_overflow_error)
Completed in 981 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>