summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-10-08 14:56:20 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-10-08 14:56:20 +0000
commitf1b82483499f6e23b6752d083e3413bfee298acf (patch)
tree45c387130366aebce867f663b8a8f1628e7c41ef /include
parent01b473ed13c6833b486465568295bc424c69d471 (diff)
downloadclang-f1b82483499f6e23b6752d083e3413bfee298acf.tar.gz
[OPENMP50]Allow functions in declare variant directive to have different
C linkage. After some discussion with OpenMP developers, it was decided that the functions with the different C linkage can be used in declare variant directive. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Sema/Sema.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h
index a77cbc09e4..28180ed6d1 100644
--- a/include/clang/Sema/Sema.h
+++ b/include/clang/Sema/Sema.h
@@ -9128,7 +9128,7 @@ public:
const PartialDiagnosticAt &NoteCausedDiagIDAt,
const PartialDiagnosticAt &NoSupportDiagIDAt,
const PartialDiagnosticAt &DiffDiagIDAt, bool TemplatesSupported,
- bool ConstexprSupported);
+ bool ConstexprSupported, bool CLinkageMayDiffer);
/// Function tries to capture lambda's captured variables in the OpenMP region
/// before the original lambda is captured.