Debian Codegraph @

clang/test/TableGen/HLSLAttribute-errors.td

raw
1 // RUN: not clang-tblgen -gen-clang-attr-parsed-attr-kinds -I%p/../../include %s -o - 2>&1 | FileCheck %s
2
3 include "clang/Basic/Attr.td"
4
5 // CHECK: error: HLSLAnnotation Attribute must be lower case.
6 def HLSLSV_FAKE: HLSLAnnotationAttr {
7 let Spellings = [HLSLAnnotation<"SV_Fake">];
8 let Subjects = SubjectList<[ParmVar, Field]>;
9 let LangOpts = [HLSL];
10 let Documentation = [];
11 }