[all-commits] [llvm/llvm-project] 271f96: [Preprocessor][X86] Fix __code_model_*__ predefine...

Roland McGrath via All-commits all-commits at lists.llvm.org
Fri Feb 21 23:30:37 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 271f96477328f42cbf31a2b42433cdef8ed91914
      https://github.com/llvm/llvm-project/commit/271f96477328f42cbf31a2b42433cdef8ed91914
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M clang/lib/Basic/Targets/X86.cpp
    M clang/test/Preprocessor/init.c

  Log Message:
  -----------
  [Preprocessor][X86] Fix __code_model_*__ predefine macros

GCC defines __code_model_*__ (two trailing underscores), not
__code_model_*_ (one trailing underscore).

Reviewed By: MaskRay

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




More information about the All-commits mailing list