summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOpenMP.cpp
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2016-12-14 15:39:58 +0000
committerKelvin Li <kkwli0@gmail.com>2016-12-14 15:39:58 +0000
commit8437625e359947cee13f624ba423b50a25bfb773 (patch)
treeefbec4d6262fee5487ad84f4968ad1ae26a4f66b /clang/lib/Sema/SemaOpenMP.cpp
parent08124b110a9e1ffc285998db1abd42e72ab83c8b (diff)
downloadbcm5719-llvm-8437625e359947cee13f624ba423b50a25bfb773.tar.gz
bcm5719-llvm-8437625e359947cee13f624ba423b50a25bfb773.zip
Fix assert message. NFC.
llvm-svn: 289657
Diffstat (limited to 'clang/lib/Sema/SemaOpenMP.cpp')
-rw-r--r--clang/lib/Sema/SemaOpenMP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaOpenMP.cpp b/clang/lib/Sema/SemaOpenMP.cpp
index 6aa34b40947..3098d07f50e 100644
--- a/clang/lib/Sema/SemaOpenMP.cpp
+++ b/clang/lib/Sema/SemaOpenMP.cpp
@@ -10808,7 +10808,7 @@ OMPClause *Sema::ActOnOpenMPIsDevicePtrClause(ArrayRef<Expr *> VarList,
SourceLocation EndLoc) {
MappableVarListInfo MVLI(VarList);
for (auto &RefExpr : VarList) {
- assert(RefExpr && "NULL expr in OpenMP use_device_ptr clause.");
+ assert(RefExpr && "NULL expr in OpenMP is_device_ptr clause.");
SourceLocation ELoc;
SourceRange ERange;
Expr *SimpleRefExpr = RefExpr;
OpenPOWER on IntegriCloud