blob: 73fa17a134a8411635bb9f7726886400a13bccaa [file] [log] [blame]
Dominic Chen09d66f72017-03-02 23:30:53 +00001// RUN: %clang_cc1 -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtCastExpr=true,debug.AnalysisOrder:PostStmtCastExpr=true %s 2>&1 | FileCheck %s
Aleksei Sidorin29afb192016-09-01 13:55:38 +00002
3void test(char c) {
4 int i = (int)c;
5}
6
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)