diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-04-20 22:23:07 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-04-20 22:23:07 +0000 |
commit | d9e3bf70cd419ea8e83d6a7116c920eb2f6b41d7 (patch) | |
tree | 24f989051d60967109c9c1f1648f4294900cba1b /clang/lib | |
parent | be2dcaf45a82230254561dfa3bea8709fed7389c (diff) | |
download | bcm5719-llvm-d9e3bf70cd419ea8e83d6a7116c920eb2f6b41d7.tar.gz bcm5719-llvm-d9e3bf70cd419ea8e83d6a7116c920eb2f6b41d7.zip |
Parse: cleanup some bleeding whitespace
Clean up some bleeding whitespace that I noticed. NFC
llvm-svn: 300908
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Parse/ParseExpr.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp index ad45ab114fd..3e02e46ddc7 100644 --- a/clang/lib/Parse/ParseExpr.cpp +++ b/clang/lib/Parse/ParseExpr.cpp @@ -339,7 +339,7 @@ Parser::ParseRHSOfBinaryExpression(ExprResult LHS, prec::Level MinPrec) { ColonLoc = Tok.getLocation(); } } - + // Code completion for the right-hand side of an assignment expression // goes through a special hook that takes the left-hand side into account. if (Tok.is(tok::code_completion) && NextTokPrec == prec::Assignment) { @@ -347,7 +347,7 @@ Parser::ParseRHSOfBinaryExpression(ExprResult LHS, prec::Level MinPrec) { cutOffParsing(); return ExprError(); } - + // Parse another leaf here for the RHS of the operator. // ParseCastExpression works here because all RHS expressions in C have it // as a prefix, at least. However, in C++, an assignment-expression could @@ -456,6 +456,7 @@ Parser::ParseRHSOfBinaryExpression(ExprResult LHS, prec::Level MinPrec) { if (!getLangOpts().CPlusPlus) continue; } + // Ensure potential typos aren't left undiagnosed. if (LHS.isInvalid()) { Actions.CorrectDelayedTyposInExpr(OrigLHS); |