summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2019-01-04 22:12:13 +0000
committerJoel E. Denny <jdenny.ornl@gmail.com>2019-01-04 22:12:13 +0000
commit3bd81ff22212f694b92736739bfcaccd86da737c (patch)
treee64381d43542c0f656d2dd5dd86625b370a8328d /lib/Frontend/CompilerInvocation.cpp
parent5b0be04e490e2b66c2abb51292e01112b6834ef4 (diff)
downloadclang-3bd81ff22212f694b92736739bfcaccd86da737c.tar.gz
[OpenMP] Refactor const restriction for linear
As discussed in D56113, this patch refactors the implementation of the const restriction for linear to reuse a function introduced by D56113. A side effect is that, if a variable has mutable members, this diagnostic is now skipped, and the diagnostic for the variable not being an integer or pointer is reported instead. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D56299 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions