no need to avoid pasting >* It can't form ->*, because we know the previous
token was not -> and if the token before it was -, the - and > would avoid pasting.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40409 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/PrintPreprocessedOutput.cpp b/Driver/PrintPreprocessedOutput.cpp
index 9664cbb..f857fd6 100644
--- a/Driver/PrintPreprocessedOutput.cpp
+++ b/Driver/PrintPreprocessedOutput.cpp
@@ -361,9 +361,8 @@
case tok::less: // <<, <<=, <=, <?=, <?, <:, <%
return FirstChar == '<' || FirstChar == '?' || FirstChar == '=' ||
FirstChar == ':' || FirstChar == '%';
- case tok::greater: // >>, >=, >>=, >?=, >?, ->*
- return FirstChar == '>' || FirstChar == '?' || FirstChar == '=' ||
- FirstChar == '*';
+ case tok::greater: // >>, >=, >>=, >?=, >?
+ return FirstChar == '>' || FirstChar == '?' || FirstChar == '=';
case tok::pipe: // ||, |=
return FirstChar == '|' || FirstChar == '=';
case tok::percent: // %=, %>, %: