[PATCH] D69855: Fix llvm-namespace-comment for macro expansions
Marcin Twardak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 5 09:42:45 PST 2019
twardakm created this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
twardakm edited the summary of this revision.
twardakm added a project: clang-tools-extra.
If a namespace is a macro name, it should be allowed to close the
namespace with the same name.
This commit adds also unit tests for llvm-namespace-comment.
https://bugs.llvm.org/show_bug.cgi?id=26274
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69855
Files:
clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.cpp
clang-tools-extra/clang-tidy/readability/NamespaceCommentCheck.h
clang-tools-extra/test/clang-tidy/checkers/llvm-namespace-comment.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69855.227901.patch
Type: text/x-patch
Size: 5485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191105/a98025bd/attachment.bin>
More information about the cfe-commits
mailing list