On Thu, Feb 21, 2013 at 3:27 PM, Jordan Rose <[email protected]> wrote:

>
> On Feb 21, 2013, at 14:23 , David Blaikie <[email protected]> wrote:
>
> +  /// \brief Convert to the specified TypeLoc type, asserting that this
> TypeLoc
> +  /// is of the desired type.
>
>
> s/TypeLoc/ProgramPoint/? (Was this in the last one as well?)
>

r175825 & no, seems I correctly updated the copy/pasted comment in CFG.h
before committing


> -  const CallExitEnd *CExit = dyn_cast<CallExitEnd>(&P);
>
> +  Optional<CallExitEnd> CExit = P.getAs<CallExitEnd>();
>   assert(CExit && "Stack Hints should be constructed at CallExitEnd
> points.");
>
>
> Despite the assert message, this should probably just use castAs to get
> better Release build code.
>

 r175826

Thanks!
- David
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to