evelez7 added inline comments.

================
Comment at: clang/lib/ExtractAPI/DeclarationFragments.cpp:612
+  if (isa<CXXConstructorDecl>(Method)) {
+    Name = Method->getNameAsString();
+    if (dyn_cast<CXXConstructorDecl>(Method)->isExplicit())
----------------
Minor change is here. Since `Name` is now an `std::string`, a cast to 
`Method`'s DeclContext is no longer needed to bypass the simple identifier 
assertion from `getName` for StringRefs.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157007

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to