diff options
author | Ivan Zhechev <ivan.zhechev@arm.com> | 2021-08-12 18:04:29 +0100 |
---|---|---|
committer | Mats Petersson <mats.petersson@arm.com> | 2021-08-12 18:35:54 +0100 |
commit | 35249cb7b1e82147ef08de12bdf34a29d8c58d53 (patch) | |
tree | ac7ca35057ff603aa37830fa0f2083d7ec53344a /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | f999312872b811b550533640b92ecb234cf5c642 (diff) | |
download | llvm-35249cb7b1e82147ef08de12bdf34a29d8c58d53.zip llvm-35249cb7b1e82147ef08de12bdf34a29d8c58d53.tar.gz llvm-35249cb7b1e82147ef08de12bdf34a29d8c58d53.tar.bz2 |
[Flang] Fix error messages on Windows.
Flang uses positional arguments for `messages::say()`, such as "%1$s" which is only supported in MS Compilers with the `_*printf_p` form of the function. This uses a conditional macro to convert the existing `vsnprintf` used to the one needed in MS-World.
7 tests in D107575 rely on this change.
Reviewed By: Meinersbur
Differential Revision: https://reviews.llvm.org/D107654
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions