[PATCH] Emit warning if define or undef reserved identifier or keyword.

Serge Pavlov sepavloff at gmail.com
Thu Nov 13 20:10:36 PST 2014


Addressed reviewer's notes.

http://reviews.llvm.org/D6194

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticLexKinds.td
  include/clang/Basic/IdentifierTable.h
  lib/Basic/IdentifierTable.cpp
  lib/Lex/PPDirectives.cpp
  test/PCH/single-token-macro.c
  test/Preprocessor/cxx_oper_keyword_ms_compat.cpp
  test/Preprocessor/macro-reserved.c
  test/Preprocessor/macro-reserved.cpp
  test/Sema/thread-specifier.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6194.16192.patch
Type: text/x-patch
Size: 11712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141114/ed2152ab/attachment.bin>


More information about the cfe-commits mailing list