[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Analysis / castexpr-callback.c
blob3b46093db9aebb782b1fe85b067354645490a7c0
1 // RUN: %clang_analyze_cc1 -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtCastExpr=true,debug.AnalysisOrder:PostStmtCastExpr=true %s 2>&1 | FileCheck %s
3 void test(char c) {
4 int i = (int)c;
7 // CHECK: PreStmt<CastExpr> (Kind : LValueToRValue)
8 // CHECK-NEXT: PostStmt<CastExpr> (Kind : LValueToRValue)
9 // CHECK-NEXT: PreStmt<CastExpr> (Kind : IntegralCast)
10 // CHECK-NEXT: PostStmt<CastExpr> (Kind : IntegralCast)