johannes added inline comments.
================ Comment at: lib/Tooling/ASTDiff/ASTDiff.cpp:371 + std::string ContextPrefix; + if (auto *Namespace = dyn_cast<NamespaceDecl>(Context)) + ContextPrefix = Namespace->getQualifiedNameAsString(); ---------------- arphaman wrote: > You don't need to check both `NamespaceDecl` and `TagDecl`, since you can > just do one if with a `NamedDecl`. FunctionDecl should not be used for example https://reviews.llvm.org/D36187 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits