forked from OSchip/llvm-project
Turn off a warning caused by my last patch.
llvm-svn: 181464
This commit is contained in:
parent
f83beab4bd
commit
ebb262f79c
|
@ -355,7 +355,7 @@ void Lexer::lexCommentText(Token &T) {
|
|||
if (!Info) {
|
||||
formTokenWithChars(T, TokenPtr, tok::unknown_command);
|
||||
T.setUnknownCommandName(CommandName);
|
||||
if (Info = Traits.getTypoCorrectCommandInfo(CommandName)) {
|
||||
if ((Info = Traits.getTypoCorrectCommandInfo(CommandName))) {
|
||||
StringRef CorrectedName = Info->Name;
|
||||
SourceRange CommandRange(T.getLocation().getLocWithOffset(1),
|
||||
T.getEndLocation());
|
||||
|
|
Loading…
Reference in New Issue