[OpenMP] Specialize OpenMP calls after template instantiation
authorJohannes Doerfert <johannes@jdoerfert.de>
Sun, 29 Mar 2020 20:56:15 +0000 (15:56 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Wed, 8 Apr 2020 04:33:24 +0000 (23:33 -0500)
commiteb5a16efbf59150af31bd4e3d37b8ea5976d780b
tree8b37ac5790a4fe0cd2fb9cd8b4291240d07a9957
parenta19eb1de726c1ccbf60dca6a1fbcd49b3157282f
[OpenMP] Specialize OpenMP calls after template instantiation

As with regular calls, we want to specialize a call that went through
template instantiation if it has an applicable OpenMP declare variant.

Reviewed By: erichkeane, mikerice

Differential Revision: https://reviews.llvm.org/D77290
clang/lib/Sema/TreeTransform.h
clang/test/AST/ast-dump-openmp-begin-declare-variant_template_1.cpp [new file with mode: 0644]