[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Import / cxx-casts / test.cpp
blob49215ce81c7b579864264010a469bcecf452b687
1 // RUN: clang-import-test -dump-ast -import %S/Inputs/F.cpp -expression %s | FileCheck %s
3 // CHECK: CXXDynamicCastExpr
4 // CHECK-SAME: dynamic_cast
5 // CHECK-SAME: <Dynamic>
7 // CHECK: CXXStaticCastExpr
8 // CHECK-SAME: static_cast
9 // CHECK-SAME: <BaseToDerived (A)>
11 // CHECK: CXXReinterpretCastExpr
12 // CHECK-SAME: reinterpret_cast
13 // CHECK-SAME: <BitCast>
15 // CHECK: CXXConstCastExpr
16 // CHECK-SAME: const_cast
17 // CHECK-SAME: <NoOp>
19 void expr() {
20 f();