diff options
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
| -rw-r--r-- | clang/lib/Parse/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/Parser.cpp b/clang/lib/Parse/Parser.cpp index c6b0a80e02e..7598ff79969 100644 --- a/clang/lib/Parse/Parser.cpp +++ b/clang/lib/Parse/Parser.cpp @@ -39,7 +39,7 @@ bool Parser::Diag(SourceLocation Loc, unsigned DiagID, } bool Parser::Diag(SourceLocation Loc, unsigned DiagID, const std::string &Msg, - SourceRange Range) { + const SourceRange& Range) { Diags.Report(PP.getFullLoc(Loc), DiagID, &Msg, 1, &Range,1); return true; } |

