[swift-dev] Pointers vs. References?

Michael Gottesman mgottesman at apple.com
Sat Dec 12 18:20:21 CST 2015


In general, we have not been particularly disciplined in this regard. I would suggest following what is being done locally in the file you are modifying, i.e. FuncDecl */TypeChecker & as per the LLVM style guide.

Michael

> On Dec 12, 2015, at 3:15 PM, Jacob Bandes-Storch via swift-dev <swift-dev at swift.org> wrote:
> 
> I've noticed a mix of pointers (FuncDecl*) and references (TypeChecker&) in the C++ codebase. Is there a particular reason for this? Perhaps a style guide?
> 
> Jacob
>  _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20151212/a75c66b8/attachment.html>


More information about the swift-dev mailing list