[clang] 2e4e200 - Fix a comment in SemaSYCL to make sure I can commit

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 18 10:12:33 PDT 2021


Author: Erich Keane
Date: 2021-10-18T10:12:28-07:00
New Revision: 2e4e2004afc51303bbb8836e886363f2056d73eb

URL: https://github.com/llvm/llvm-project/commit/2e4e2004afc51303bbb8836e886363f2056d73eb
DIFF: https://github.com/llvm/llvm-project/commit/2e4e2004afc51303bbb8836e886363f2056d73eb.diff

LOG: Fix a comment in SemaSYCL to make sure I can commit

Added: 
    

Modified: 
    clang/lib/Sema/SemaSYCL.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Sema/SemaSYCL.cpp b/clang/lib/Sema/SemaSYCL.cpp
index 481725eb0924..815463307ecc 100644
--- a/clang/lib/Sema/SemaSYCL.cpp
+++ b/clang/lib/Sema/SemaSYCL.cpp
@@ -38,7 +38,7 @@ bool Sema::checkSYCLDeviceFunction(SourceLocation Loc, FunctionDecl *Callee) {
          "Should only be called during SYCL compilation");
   assert(Callee && "Callee may not be null.");
 
-  // Errors in unevaluated context don't need to be generated,
+  // Errors in an unevaluated context don't need to be generated,
   // so we can safely skip them.
   if (isUnevaluatedContext() || isConstantEvaluated())
     return true;


        


More information about the cfe-commits mailing list