[all-commits] [llvm/llvm-project] 6045cb: Use an allow list on reserved macro identifiers

serge-sans-paille via All-commits all-commits at lists.llvm.org
Thu May 13 00:24:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6045cb89e5e8223eea4d7f9c3a3e0d8d25ff909f
      https://github.com/llvm/llvm-project/commit/6045cb89e5e8223eea4d7f9c3a3e0d8d25ff909f
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2021-05-13 (Thu, 13 May 2021)

  Changed paths:
    M clang/lib/Lex/PPDirectives.cpp
    M clang/test/Preprocessor/macro-reserved.c

  Log Message:
  -----------
  Use an allow list on reserved macro identifiers

The allow list is based on various official sources (see in-code comment).

This fixes https://bugs.llvm.org/show_bug.cgi?id=50248

Differential Revision: https://reviews.llvm.org/D102168




More information about the All-commits mailing list