This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG155f5a6dac62: [libc][clang-tidy] fix namespace check for
externals (authored by michaelrj).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE
michaelrj updated this revision to Diff 390769.
michaelrj added a comment.
fix final comments before commit
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113946/new/
https://reviews.llvm.org/D113946
Files:
michaelrj updated this revision to Diff 388588.
michaelrj marked 3 inline comments as done.
michaelrj added a comment.
address comments and rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113946/new/
https://reviews.llvm.org/D113946
Files:
michaelrj added a comment.
ping for clang-tidy review
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113946/new/
https://reviews.llvm.org/D113946
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
michaelrj added inline comments.
Comment at: clang-tools-extra/clang-tidy/llvmlibc/CalleeNamespaceCheck.cpp:39
+// intercepted.
+static const char *FUNCTIONS_TO_IGNORE_NAMESPACE[] = {
+"__errno_location", "malloc", "calloc", "realloc", "free"};
sivachandra
michaelrj updated this revision to Diff 387759.
michaelrj marked an inline comment as done.
michaelrj added a comment.
update the set type
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113946/new/
https://reviews.llvm.org/D113946
Files:
michaelrj updated this revision to Diff 387713.
michaelrj added a comment.
add test for the new lint behavior:
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113946/new/
https://reviews.llvm.org/D113946
Files:
michaelrj added inline comments.
Comment at: clang-tools-extra/clang-tidy/llvmlibc/CalleeNamespaceCheck.cpp:13
+#include
+
sivachandra wrote:
> Eugene.Zelenko wrote:
> > Should be `` and without newline separation form rest of headers.
> Looks like this is
michaelrj updated this revision to Diff 387703.
michaelrj marked 6 inline comments as done.
michaelrj added a comment.
clean up the code and remove debug statements
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113946/new/
michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, carlosgalvezp, ecnelises, tschuett,
xazax.hun.
Herald added a project: libc-project.
michaelrj requested review of this revision.
Herald added a project: clang-tools-extra.
10 matches
Mail list logo