blob: 73fa17a134a8411635bb9f7726886400a13bccaa [file] [log] [blame]
// RUN: %clang_cc1 -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtCastExpr=true,debug.AnalysisOrder:PostStmtCastExpr=true %s 2>&1 | FileCheck %s
void test(char c) {
int i = (int)c;
}
// CHECK: PreStmt<CastExpr> (Kind : LValueToRValue)
// CHECK-NEXT: PostStmt<CastExpr> (Kind : LValueToRValue)
// CHECK-NEXT: PreStmt<CastExpr> (Kind : IntegralCast)
// CHECK-NEXT: PostStmt<CastExpr> (Kind : IntegralCast)