tra added a comment. In https://reviews.llvm.org/D52179#1237194, @JonasToth wrote:
> Is the condition for this assertion checked beforehand or could this create > runtime failures? It's checked by the (only) caller of the function on line 791: if (const auto *Decl = Result.Nodes.getNodeAs<NamedDecl>("decl")) { if (!Decl->getIdentifier() || Decl->getName().empty() || Decl->isImplicit()) return; ... StyleKind SK = findStyleKind(Decl, NamingStyles); if (SK == SK_Invalid) return; ... } Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D52179 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits