]> granicus.if.org Git - clang/commitdiff
[OPENMP] Fix enum identifier, NFC.
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 1 Oct 2018 14:26:31 +0000 (14:26 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 1 Oct 2018 14:26:31 +0000 (14:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343479 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGStmtOpenMP.cpp

index 937b59f506afdfa66491ca6997feec2bf662e9e8..1efbccaa7105788db2637504970b6ac6c7e27854 100644 (file)
@@ -3912,7 +3912,7 @@ static void emitOMPAtomicExpr(CodeGenFunction &CGF, OpenMPClauseKind Kind,
   case OMPC_use_device_ptr:
   case OMPC_is_device_ptr:
   case OMPC_unified_address:
-  case OMP_unified_shared_memory:
+  case OMPC_unified_shared_memory:
     llvm_unreachable("Clause is not allowed in 'omp atomic'.");
   }
 }