From 229bc1b2a733119b55bcde2f759d771c3096ab7c Mon Sep 17 00:00:00 2001 From: Kelvin Li Date: Wed, 14 Dec 2016 15:39:58 +0000 Subject: [PATCH] Fix assert message. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@289657 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaOpenMP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0