[clang-tidy][NFC]remove deps of clang in clang tidy test (#116588)
[llvm-project.git] / mlir / test / mlir-tblgen / utils.td
blob28e0fecb2881bdd31ec07493a635e3391c6c6e39
1 // RUN: mlir-tblgen -I %S/../../include %s | FileCheck %s
3 include "mlir/IR/Utils.td"
5 // CHECK-DAG: string value = "CamelCaseTest"
6 class already_camel_case {
7   string value = snakeCaseToCamelCase<"CamelCaseTest">.ret;
10 // CHECK-DAG: string value = "Foo"
11 class single_word {
12   string value = snakeCaseToCamelCase<"foo">.ret;
15 // CHECK-DAG: string value = "ThisIsATest"
16 class snake_case {
17   string value = snakeCaseToCamelCase<"this_is_a_test">.ret;
20 // CHECK-DAG: string value = "ThisIsATestAgain"
21 class extra_underscores {
22   string value = snakeCaseToCamelCase<"__this__is_a_test__again__">.ret;