diff options
author | Andy Gibbs <andyg1001@hotmail.co.uk> | 2012-11-09 13:24:30 +0000 |
---|---|---|
committer | Andy Gibbs <andyg1001@hotmail.co.uk> | 2012-11-09 13:24:30 +0000 |
commit | 02f0022dfced0d082d979ebfd9185211f4dd0496 (patch) | |
tree | 9c2b6160a06bb2f919c53af24412224dc3f059b6 /lib/CodeGen/BackendUtil.cpp | |
parent | 1a52a4d36cc518725d8e8ba3b984341a30cd7fdb (diff) |
Improved support for removing the comma preceding __VA_ARGS__ where __VA_ARGS__
is empty in a variadic macro expansion. This fixes a divergence in support for
the ", ## __VA_ARGS__" GCC extension which differed in behaviour when in strict
C99 mode (note: there is no change in behaviour has been made in the gnu99 mode
that clang uses by default). In addition, there is improved support for the
Microsoft alternative extension ", __VA_ARGS__".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167613 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions