From: Kelvin Li Date: Wed, 14 Dec 2016 15:39:58 +0000 (+0000) Subject: Fix assert message. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=229bc1b2a733119b55bcde2f759d771c3096ab7c;p=clang Fix assert message. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289657 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaOpenMP.cpp b/lib/Sema/SemaOpenMP.cpp index 6aa34b4094..3098d07f50 100644 --- a/lib/Sema/SemaOpenMP.cpp +++ b/lib/Sema/SemaOpenMP.cpp @@ -10808,7 +10808,7 @@ OMPClause *Sema::ActOnOpenMPIsDevicePtrClause(ArrayRef 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;