Skip to content

Commit 12c7d4c

Browse files
authored
[Flang][OpenMP] Remove space before :: in member function definition,… (#78205)
… NFC The names were ``` bool DataSharingProcessor ::needBarrier() void DataSharingProcessor ::insertBarrier() ``` It seems like clang-format treats those as references to the global namespace instead of separators in a qualified name.
1 parent 3ac9fe6 commit 12c7d4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/lib/Lower/OpenMP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ void DataSharingProcessor::collectSymbolsForPrivatization() {
290290
TODO(converter.getCurrentLocation(), "Collapse clause with lastprivate");
291291
}
292292

293-
bool DataSharingProcessor ::needBarrier() {
293+
bool DataSharingProcessor::needBarrier() {
294294
for (const Fortran::semantics::Symbol *sym : privatizedSymbols) {
295295
if (sym->test(Fortran::semantics::Symbol::Flag::OmpFirstPrivate) &&
296296
sym->test(Fortran::semantics::Symbol::Flag::OmpLastPrivate))
@@ -299,7 +299,7 @@ bool DataSharingProcessor ::needBarrier() {
299299
return false;
300300
}
301301

302-
void DataSharingProcessor ::insertBarrier() {
302+
void DataSharingProcessor::insertBarrier() {
303303
// Emit implicit barrier to synchronize threads and avoid data races on
304304
// initialization of firstprivate variables and post-update of lastprivate
305305
// variables.

0 commit comments

Comments
 (0)