Skip to content

Commit 4c96b3e

Browse files
committed
format
1 parent e24c6a1 commit 4c96b3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/lib/Semantics/resolve-names.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2830,7 +2830,8 @@ Scope &ScopeHandler::NonDerivedTypeScope() {
28302830

28312831
static void SetImplicitCUDADevice(Symbol &symbol) {
28322832
if (auto *object{symbol.detailsIf<ObjectEntityDetails>()}) {
2833-
if (!object->cudaDataAttr() && !IsValue(symbol) && !IsFunctionResult(symbol)) {
2833+
if (!object->cudaDataAttr() && !IsValue(symbol) &&
2834+
!IsFunctionResult(symbol)) {
28342835
// Implicitly set device attribute if none is set in device context.
28352836
object->set_cudaDataAttr(common::CUDADataAttr::Device);
28362837
}

0 commit comments

Comments
 (0)