diff options
author | Amy Kwan <amy.kwan1@ibm.com> | 2021-07-30 08:50:44 -0500 |
---|---|---|
committer | Amy Kwan <amy.kwan1@ibm.com> | 2021-07-30 09:35:43 -0500 |
commit | 5ea6117a9e9eae49ad1295fa422266ef3832e419 (patch) | |
tree | bee8b950a9b35ab481e33b5fbafb465cc1e2c594 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 14c1450d5cac71d0bfa946a4766a3cd125e6a694 (diff) | |
download | llvm-5ea6117a9e9eae49ad1295fa422266ef3832e419.zip llvm-5ea6117a9e9eae49ad1295fa422266ef3832e419.tar.gz llvm-5ea6117a9e9eae49ad1295fa422266ef3832e419.tar.bz2 |
[PowerPC] Emit error for Altivec vector initializations when -faltivec-src-compat=gcc is specified
Under the -faltivec-src-compat=gcc option, AltiVec vector initialization should
be treated as if they were compiled with gcc - which is, to emit an error when
the vectors are initialized in the parenthesized or non-parenthesized manner.
This patch implements this behaviour.
Differential Revision: https://reviews.llvm.org/D106410
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions