summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/DeclGroup.cpp
diff options
context:
space:
mode:
authorSamuel Antao <sfantao@us.ibm.com>2016-10-20 13:20:17 +0000
committerSamuel Antao <sfantao@us.ibm.com>2016-10-20 13:20:17 +0000
commit335151914aaea2475fb92e1d9e838bddc106a185 (patch)
treedf3477c16d357fcd163aae25bdd2493cb6259beb /clang/lib/AST/DeclGroup.cpp
parent7c870a7e54aed16f4d7dbba5cdb79cc21c4ff9ba (diff)
downloadbcm5719-llvm-335151914aaea2475fb92e1d9e838bddc106a185.tar.gz
bcm5719-llvm-335151914aaea2475fb92e1d9e838bddc106a185.zip
[OpenMP] Fix issue with directives used in a macro.
Summary: If directives are used in a macro, clang complains with: ``` src/projects/openmp/runtime/src/kmp_runtime.c:7486:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive] #if KMP_USE_MONITOR ``` This patch fixes two occurrences of the issue in `kmp_runtime.cpp`. Reviewers: tlwilmar, jlpeyton, AndreyChurbanov, Hahnfeld Subscribers: Hahnfeld, openmp-commits Differential Revision: https://reviews.llvm.org/D25823 llvm-svn: 284728
Diffstat (limited to 'clang/lib/AST/DeclGroup.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud