================
@@ -43,7 +43,10 @@ class UnsafeFunctionsCheck : public ClangTidyCheck {
 private:
   const std::vector<CheckedFunction> CustomFunctions;
 
-  // If true, the default set of functions are reported.
+  /// If true, the fully qualified name of custom functions will be shown in a
+  /// note tag.
+  const bool ShowFullyQualifiedNames;
----------------
Discookie wrote:

Sometimes it is pretty difficult to discern the precise patteren in the first 
place. eg. above when matching .open(), aliases are not followed (ifstream =/= 
basic_ifstream<char>), and there's also a template parameter on the class name, 
but not on the function.

These are existing behaviors, and I haven't found a way to strip template data 
off of the classname yet.
I'll add some examples for template arguments to the docs.

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

Reply via email to