]> granicus.if.org Git - clang/commitdiff
Fix assert message. NFC.
authorKelvin Li <kkwli0@gmail.com>
Wed, 14 Dec 2016 15:39:58 +0000 (15:39 +0000)
committerKelvin Li <kkwli0@gmail.com>
Wed, 14 Dec 2016 15:39:58 +0000 (15:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289657 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOpenMP.cpp

index 6aa34b40947912027a8a5dcbe383605f680c31f8..3098d07f50e414169fabbfde7ee3ea5a4d9348d0 100644 (file)
@@ -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;