r174576 - Simplify FindExternalVisibleDeclsByName by making it return a bool indicating

Sean Silva silvas at purdue.edu
Wed Feb 6 20:41:59 PST 2013

   /// \brief Finds all the visible declarations with a given name.
   /// The current implementation of this method just loads the entire
   /// lookup table as unmaterialized references.
-  virtual DeclContext::lookup_result
+  virtual bool

Bool return arguments probably deserve a mention in the comment, due to
their notorious ambiguity.

-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130206/32e89929/attachment.html>

More information about the cfe-commits mailing list