[cfe-commits] r139217 - in /cfe/trunk: include/clang/Frontend/TextDiagnosticPrinter.h lib/Frontend/TextDiagnosticPrinter.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Sep 6 18:53:55 PDT 2011


On Sep 6, 2011, at 6:47 PM, Chandler Carruth wrote:

> Author: chandlerc
> Date: Tue Sep  6 20:47:09 2011
> New Revision: 139217
> 
> -  void EmitCaretDiagnostic(SourceLocation Loc, CharSourceRange *Ranges,
> -                           unsigned NumRanges, const SourceManager &SM,
> +  void EmitCaretDiagnostic(SourceLocation Loc,
> +                           SmallVectorImpl<CharSourceRange> &Ranges,

Should this be an ArrayRef too?

/jakob




More information about the cfe-commits mailing list