Author: abataev Date: Mon Oct 1 07:26:31 2018 New Revision: 343479 URL: http://llvm.org/viewvc/llvm-project?rev=343479&view=rev Log: [OPENMP] Fix enum identifier, NFC.
Modified: cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp Modified: cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp?rev=343479&r1=343478&r2=343479&view=diff ============================================================================== --- cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp (original) +++ cfe/trunk/lib/CodeGen/CGStmtOpenMP.cpp Mon Oct 1 07:26:31 2018 @@ -3912,7 +3912,7 @@ static void emitOMPAtomicExpr(CodeGenFun 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'."); } } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits