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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
artificial.c
blob
5c433c89f0306ec1694d51372ebe6f2362c0ebc8
1
// RUN: %clang_cc1 -triple=x86_64-unknown-linux-gnu -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
2
3
extern
void
foo
(
void
);
4
// CHECK: !DISubprogram(name: "foo"
5
// CHECK-SAME: flags: DIFlagArtificial
6
inline
void
__attribute__
((
artificial
))
foo
(
void
) {}
7
8
void
baz
(
void
) {
9
foo
();
10
}