[Openmp-commits] [openmp] 01d27fc - [OpenMP] Fix warnings due to redundant semicolons. NFC.

Martin Storsjö via Openmp-commits openmp-commits at lists.llvm.org
Sun May 2 11:51:17 PDT 2021


Author: Martin Storsjö
Date: 2021-05-02T21:51:06+03:00
New Revision: 01d27fc408367200f00daad2c2d0918b252acd2c

URL: https://github.com/llvm/llvm-project/commit/01d27fc408367200f00daad2c2d0918b252acd2c
DIFF: https://github.com/llvm/llvm-project/commit/01d27fc408367200f00daad2c2d0918b252acd2c.diff

LOG: [OpenMP] Fix warnings due to redundant semicolons. NFC.

Added: 
    

Modified: 
    openmp/runtime/src/kmp_i18n.h
    openmp/runtime/src/ompt-internal.h

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/kmp_i18n.h b/openmp/runtime/src/kmp_i18n.h
index c3f21d6a58ccf..23f6f20bd6eca 100644
--- a/openmp/runtime/src/kmp_i18n.h
+++ b/openmp/runtime/src/kmp_i18n.h
@@ -170,7 +170,7 @@ void __kmp_i18n_dump_catalog(kmp_str_buf_t *buffer);
 #endif // KMP_DEBUG
 
 #ifdef __cplusplus
-}; // extern "C"
+} // extern "C"
 #endif // __cplusplus
 
 #endif // KMP_I18N_H

diff  --git a/openmp/runtime/src/ompt-internal.h b/openmp/runtime/src/ompt-internal.h
index f753ab4ebc6d3..6665bb5e83eb7 100644
--- a/openmp/runtime/src/ompt-internal.h
+++ b/openmp/runtime/src/ompt-internal.h
@@ -119,7 +119,7 @@ extern ompt_callbacks_active_t ompt_enabled;
 #endif
 
 #ifdef __cplusplus
-};
+}
 #endif
 
 #endif


        


More information about the Openmp-commits mailing list