]> granicus.if.org Git - clang/commit
__is_target_environment: Check the environment after parsing it
authorAlex Lorenz <arphaman@gmail.com>
Fri, 15 Dec 2017 20:07:53 +0000 (20:07 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 15 Dec 2017 20:07:53 +0000 (20:07 +0000)
commit817210c218310bb222f03149bfb6d23e7fd4d122
tree503f0a335daa606d7e713c805187988d38f958e1
parent3adf7e6c06c9e886fbc5f33a6c786344931ca2c9
__is_target_environment: Check the environment after parsing it

This ensures that target triples with environment versions can still work with
__is_target_environment.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320854 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPMacroExpansion.cpp
test/Preprocessor/is_target_environment_version.c [new file with mode: 0644]