diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2020-01-07 09:26:10 -0500 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2020-01-07 09:28:50 -0500 |
commit | 3f2e3dc44b42fab2e991222e74248b7006f1091e (patch) | |
tree | 9bd7b8b0394f1df5ac04956cfc556b265386a57d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a000f2e53f5c3433608f6097c3f4096e313b5f56 (diff) | |
download | llvm-3f2e3dc44b42fab2e991222e74248b7006f1091e.zip llvm-3f2e3dc44b42fab2e991222e74248b7006f1091e.tar.gz llvm-3f2e3dc44b42fab2e991222e74248b7006f1091e.tar.bz2 |
[OPENMP]Do not diagnose references to non-integral types for ref in
declare simd.
According to the standard, a list-item that appears in a linear clause without the ref modifier must be of integral or pointer type, or must be a reference to an integral or pointer type. Added check that this restriction is applied only to non-ref items.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions