a.sidorin added inline comments.

================
Comment at: lib/AST/ASTImporter.cpp:5877
+  DeclarationName Name = Importer.Import(E->getName());
+  if (E->getName().isEmpty() && Name.isEmpty())
+    return nullptr;
----------------
xazax.hun wrote:
> Is this condition correct?
Looks like it should be `E->getName() && !Name`.


https://reviews.llvm.org/D38694



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

Reply via email to