ilya-biryukov added inline comments.
================ Comment at: lib/Index/IndexDecl.cpp:586 + IndexCtx.handleDecl(D); IndexCtx.indexNestedNameSpecifierLoc(D->getQualifierLoc(), Parent, ---------------- NIT: maybe put it at the very first line of the function, before the `DC` and `Parent` decls? To keep the variable declarations closer to their usages. ================ Comment at: lib/Index/USRGeneration.cpp:118 + bool EmittedDeclName = !EmitDeclName(D); + assert(EmittedDeclName && "EmitDeclName can not fail for UsingDecls"); } ---------------- add `(void)EmittedDeclName` to avoid unused warning with assertions disabled. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58340/new/ https://reviews.llvm.org/D58340 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits