[PATCH] D113946: [libc][clang-tidy] fix namespace check for externals

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 30 07:22:55 PST 2021


aaron.ballman accepted this revision.
aaron.ballman added a comment.

LGTM aside from a tiny nit with the documentation.



================
Comment at: libc/docs/clang_tidy_checks.rst:71
+There are exceptions for the following functions: 
+``__errno_location`` so that errno can be set
+``malloc``, ``calloc``, ``realloc``, and ``free`` since they are always external
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113946/new/

https://reviews.llvm.org/D113946



More information about the cfe-commits mailing list