[clang-tools-extra] [clang-tidy] Add user-defined functions to `bugprone-unsafe-functions` check (PR #106350)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 29 09:20:50 PDT 2024


================
@@ -127,57 +139,157 @@ static bool isAnnexKAvailable(std::optional<bool> &CacheVar, Preprocessor *PP,
   return CacheVar.value();
 }
 
+static std::vector<UnsafeFunctionsCheck::CheckedFunction>
+ParseCheckedFunctions(StringRef Option, StringRef OptionName,
----------------
5chmidti wrote:

nit: Function names start with lower cases (next function as well)

https://github.com/llvm/llvm-project/pull/106350


More information about the cfe-commits mailing list