================
@@ -0,0 +1,50 @@
+// RUN: %check_clang_tidy %s readability-identifier-naming %t -- \
+// RUN:   -config='{CheckOptions: {}}' \
+// RUN:   -- -fno-delayed-template-parsing
+
+// Empty options effectively disable the check, allowing PascalCase...
+#define MyMacro
+
+namespace MyNamespace {
+
+using MyAlias = int;
+
+int MyGlobal;
+
+struct MyStruct {
+  int MyField;
+};
+
+template <typename MyTypename>
+int MyFunction(int MyArgument) {
+  int MyVariable = MyArgument;
+  return MyVariable;
+}
+
+template int MyFunction<int>(int);
+
+}
+
+// ...or lower_case for the same set of symbol types
----------------
localspook wrote:

```suggestion
// ...or lower_case for the same set of symbol types.
```

https://github.com/llvm/llvm-project/pull/171686
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to