[PATCH] D32081: Add support for editor placeholders to Clang's lexer

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 14 14:51:49 PDT 2017


arphaman updated this revision to Diff 95349.
arphaman added a comment.

Check if `IdentifierInfo` is nil in `ActOnIdExpression` to prevent crash.


Repository:
  rL LLVM

https://reviews.llvm.org/D32081

Files:
  include/clang/Basic/DiagnosticLexKinds.td
  include/clang/Basic/IdentifierTable.h
  include/clang/Basic/LangOptions.def
  include/clang/Driver/Options.td
  include/clang/Lex/Lexer.h
  include/clang/Lex/Token.h
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  lib/Lex/Lexer.cpp
  lib/Parse/Parser.cpp
  lib/Sema/SemaCXXScopeSpec.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaExpr.cpp
  test/Driver/clang_f_opts.c
  test/Parser/editor-placeholder-recovery.cpp
  test/Parser/placeholder-recovery.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32081.95349.patch
Type: text/x-patch
Size: 13487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170414/a6783f9a/attachment-0001.bin>


More information about the cfe-commits mailing list