Debian Codegraph @

clang/test/AST/HLSL/is_structured_resource_element_compatible_concept.hlsl

raw
1 // RUN: %clang_cc1 -triple dxil-pc-shadermodel6.0-library -x hlsl -ast-dump -ast-dump-filter=__is_structured_resource_element_compatible %s | FileCheck %s
2
3 // CHECK: ConceptDecl {{.*}} __is_structured_resource_element_compatible
4 // CHECK: |-TemplateTypeParmDecl {{.*}} referenced typename depth 0 index 0 element_type
5 // CHECK: `-BinaryOperator {{.*}} 'bool' lvalue '&&'
6 // CHECK: |-UnaryOperator {{.*}} 'bool' lvalue prefix '!' cannot overflow
7 // CHECK: | `-TypeTraitExpr {{.*}} 'bool' __builtin_hlsl_is_intangible
8 // CHECK: | `-TemplateTypeParmType {{.*}} 'element_type' dependent depth 0 index 0
9 // CHECK: | `-TemplateTypeParm {{.*}} 'element_type'
10 // CHECK: `-BinaryOperator {{.*}} 'bool' lvalue '>='
11 // CHECK: |-UnaryExprOrTypeTraitExpr {{.*}} 'bool' sizeof 'element_type'
12 // CHECK: `-IntegerLiteral {{.*}} '__size_t':'unsigned long' 1
13
14
15 StructuredBuffer<float> Buffer;