[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)
llvm-svn: 343479

clang/lib/CodeGen/CGStmtOpenMP.cpp

index 937b59f..1efbcca 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'.");
   }
 }