================
@@ -0,0 +1,33 @@
+// RUN: %check_clang_tidy %s bugprone-cast-to-struct %t -- \
+// RUN:   -config="{CheckOptions: {bugprone-cast-to-struct.IgnoredCasts: 
'char;S1;int;Other*'}}"
----------------
balazske wrote:

It is really more accurate to use `struct S1`, only `S1` is accepted because it 
matches inside the string. I will make this more obvious in the documentation.

https://github.com/llvm/llvm-project/pull/153428
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to