repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
cxx11-noreturn.cpp
blob
feea72ef3f4503df08e4eeeeb1980d0d10b640d1
1
// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -std=c++11 %s -o - | FileCheck %s
2
3
int
g
();
4
5
// CHECK: _Z1fv(){{.*}} [[NR:#[0-9]+]]
6
[[
noreturn
]]
int
f
() {
7
while
(
g
()) {}
8
}
9
10
// CHECK: attributes [[NR]] = { mustprogress noinline noreturn nounwind{{.*}} }