summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorPatrick Lyster <Patrick.lyster@ibm.com>2018-11-02 12:18:11 +0000
committerPatrick Lyster <Patrick.lyster@ibm.com>2018-11-02 12:18:11 +0000
commit7a2a27c4a49de60ceb84f281e78077059a99ce7e (patch)
tree7291b5d41f2816052f628f4148faf0cf4763c0d5 /clang/lib/AST/StmtProfile.cpp
parent5595b1ea28575d2880a8e1f201e337513a4ccd9a (diff)
downloadbcm5719-llvm-7a2a27c4a49de60ceb84f281e78077059a99ce7e.tar.gz
bcm5719-llvm-7a2a27c4a49de60ceb84f281e78077059a99ce7e.zip
Add support for 'atomic_default_mem_order' clause on 'requires' directive. Also renamed test files relating to 'requires'. Differntial review: https://reviews.llvm.org/D53513
llvm-svn: 345967
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index 987ee43f2cd..ec4dac03d49 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -479,6 +479,9 @@ void OMPClauseProfiler::VisitOMPReverseOffloadClause(
void OMPClauseProfiler::VisitOMPDynamicAllocatorsClause(
const OMPDynamicAllocatorsClause *C) {}
+void OMPClauseProfiler::VisitOMPAtomicDefaultMemOrderClause(
+ const OMPAtomicDefaultMemOrderClause *C) {}
+
void OMPClauseProfiler::VisitOMPScheduleClause(const OMPScheduleClause *C) {
VistOMPClauseWithPreInit(C);
if (auto *S = C->getChunkSize())
OpenPOWER on IntegriCloud