[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / test / Analysis / offsetofexpr-callback.c
blob9376a98f4846b0a85db0ac8098c36685a31e4e2f
1 // RUN: %clang_analyze_cc1 -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtOffsetOfExpr=true,debug.AnalysisOrder:PostStmtOffsetOfExpr=true %s 2>&1 | FileCheck %s
2 #include "Inputs/system-header-simulator.h"
4 struct S {
5 char c;
6 };
8 void test(void) {
9 offsetof(struct S, c);
12 // CHECK: PreStmt<OffsetOfExpr>
13 // CHECK-NEXT: PostStmt<OffsetOfExpr>