[PATCH] D26829: [clang] Allow lexer to handle string_view literals
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 21 09:33:59 PST 2016
rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.
Comment at: lib/Lex/Lexer.cpp:1717
+ const StringRef CompleteSuffix(Buffer, Chars);
+ const LangOptions &LangOpts = getLangOpts();
+ IsUDSuffix =
I don't think the `LangOpts` variable is worthwhile; remove and replace the use of it below with `getLangOpts()`.
More information about the cfe-commits