[PATCH] D58815: [clangd] Make sure constructors do not reference class

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 01:52:24 PST 2019


gribozavr accepted this revision.
gribozavr added inline comments.


================
Comment at: clangd/XRefs.cpp:160
+    if (Roles & static_cast<unsigned>(index::SymbolRole::NameReference))
+      return true;
     if (Loc == SearchedLocation) {
----------------
Maybe add a blank line so that it is clear that the comment is only attached to the if stmt?


Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D58815





More information about the cfe-commits mailing list