[PATCH] D46190: For a used declaration, mark any associated usings as referenced.

Paul Robinson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 19 07:38:38 PDT 2018


probinson added a comment.

@rsmith any further thoughts?  We would really like to get this in before the LLVM 7.0 branch, currently scheduled for 1 August.

In https://reviews.llvm.org/D46190#1168027, @CarlosAlbertoEnciso wrote:

> @probinson: I tried `clang-format-diff` and the main format issues are with the test cases.
>
> Do you want the test cases to follow the clang format?


The lib and include files absolutely need to follow clang format.  Tests should also, if doing so doesn't disturb their readability.  If clang-format-diff is doing things like rearranging comments in the test files, it depends on whether it improves or reduces clarity.  Up to you.



================
Comment at: lib/Sema/SemaDeclCXX.cpp:15515
+
+// Mark the alias declaration and any associated chain as referenced.
+void Sema::MarkNamespaceAliasReferenced(NamedDecl *ND) {
----------------
This should use `///` to be  picked up by doxygen.


https://reviews.llvm.org/D46190





More information about the cfe-commits mailing list