[PATCH] D64687: Revert "Remove __VERSION__"

Sterling Augustine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 19:46:14 PDT 2019


saugustine created this revision.
Herald added subscribers: llvm-commits, arphaman, fedor.sergeev, aheejin, dschuff.
Herald added a project: LLVM.
saugustine added reviewers: rnk, dexonsmith, sylvestre.ledru.

This reverts commit 632a36bfcfc8273c1861f04ff6758d863c47c784.

Some targets such as Python 2.7.16 still use __VERSION__ in
their builds. Without __VERSION__ defined, the source code
has syntax errors.


Repository:
  rL LLVM

https://reviews.llvm.org/D64687

Files:
  clang/docs/LanguageExtensions.rst
  clang/docs/ReleaseNotes.rst
  clang/lib/Basic/Version.cpp
  clang/lib/Frontend/InitPreprocessor.cpp
  clang/test/Index/complete-exprs.c
  clang/test/Preprocessor/init.c
  clang/utils/builtin-defines.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64687.209665.patch
Type: text/x-patch
Size: 5690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190713/3b19dd01/attachment.bin>


More information about the llvm-commits mailing list