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
/
Import
/
do-stmt
/
test.cpp
blob
8b1057dae65b2dbf500d4957e3d86c55bb28a31d
1
// RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
2
3
// CHECK: DoStmt
4
// CHECK-NEXT: NullStmt
5
// CHECK-NEXT: CXXBoolLiteralExpr
6
// CHECK-SAME: true
7
8
// CHECK: DoStmt
9
// CHECK-NEXT: CompoundStmt
10
// CHECK-NEXT: CXXBoolLiteralExpr
11
// CHECK-SAME: false
12
13
void
expr
() {
14
f
();
15
}