diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-07-05 17:13:11 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-07-05 17:13:11 +0000 |
commit | 6b9be0ffb3d5a3e1c54c4802a93749d3b9f711ed (patch) | |
tree | 6e7a9a5871393478ffe045c02286c8c4f4d574df /clang/lib/Parse/Parser.cpp | |
parent | 1cb4290b89d362d4daef7a32a19bd3b5c1c5a0cd (diff) | |
download | bcm5719-llvm-6b9be0ffb3d5a3e1c54c4802a93749d3b9f711ed.tar.gz bcm5719-llvm-6b9be0ffb3d5a3e1c54c4802a93749d3b9f711ed.zip |
Some documentation fixes for the parser, from John Freeman
llvm-svn: 134419
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
-rw-r--r-- | clang/lib/Parse/Parser.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Parse/Parser.cpp b/clang/lib/Parse/Parser.cpp index 1089d2309af..5c502907bc1 100644 --- a/clang/lib/Parse/Parser.cpp +++ b/clang/lib/Parse/Parser.cpp @@ -124,9 +124,8 @@ void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK, /// MatchRHSPunctuation - For punctuation with a LHS and RHS (e.g. '['/']'), /// this helper function matches and consumes the specified RHS token if -/// present. If not present, it emits the specified diagnostic indicating -/// that the parser failed to match the RHS of the token at LHSLoc. LHSName -/// should be the name of the unmatched LHS token. +/// present. If not present, it emits a corresponding diagnostic indicating +/// that the parser failed to match the RHS of the token at LHSLoc. SourceLocation Parser::MatchRHSPunctuation(tok::TokenKind RHSTok, SourceLocation LHSLoc) { |