summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_stub.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2016-12-14 23:01:24 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2016-12-14 23:01:24 +0000
commitde4749b7488c1b6b299af2c3e84fec636cc27280 (patch)
tree1a2438487d46202190a6517d7255b041b3c2655a /openmp/runtime/src/kmp_stub.cpp
parentafee21a5b273ca1f150f85ecc8deb560e0ff3096 (diff)
downloadbcm5719-llvm-de4749b7488c1b6b299af2c3e84fec636cc27280.tar.gz
bcm5719-llvm-de4749b7488c1b6b299af2c3e84fec636cc27280.zip
Follow up to r289732: Update comments in source files to reference .cpp files
Patch by Hansang Bae llvm-svn: 289739
Diffstat (limited to 'openmp/runtime/src/kmp_stub.cpp')
-rw-r--r--openmp/runtime/src/kmp_stub.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/openmp/runtime/src/kmp_stub.cpp b/openmp/runtime/src/kmp_stub.cpp
index 437bf3d538a..11b7cb60c2c 100644
--- a/openmp/runtime/src/kmp_stub.cpp
+++ b/openmp/runtime/src/kmp_stub.cpp
@@ -1,5 +1,5 @@
/*
- * kmp_stub.c -- stub versions of user-callable OpenMP RT functions.
+ * kmp_stub.cpp -- stub versions of user-callable OpenMP RT functions.
*/
@@ -56,16 +56,16 @@ static size_t __kmps_init() {
static size_t dummy = 0;
if ( ! initialized ) {
- // TODO: Analyze KMP_VERSION environment variable, print __kmp_version_copyright and
- // __kmp_version_build_time.
- // WARNING: Do not use "fprintf( stderr, ... )" because it will cause unresolved "__iob"
- // symbol (see C70080). We need to extract __kmp_printf() stuff from kmp_runtime.c and use
- // it.
+ // TODO: Analyze KMP_VERSION environment variable, print
+ // __kmp_version_copyright and __kmp_version_build_time.
+ // WARNING: Do not use "fprintf( stderr, ... )" because it will cause
+ // unresolved "__iob" symbol (see C70080). We need to extract
+ // __kmp_printf() stuff from kmp_runtime.cpp and use it.
- // Trick with dummy variable forces linker to keep __kmp_version_copyright and
- // __kmp_version_build_time strings in executable file (in case of static linkage).
- // When KMP_VERSION analyze is implemented, dummy variable should be deleted, function
- // should return void.
+ // Trick with dummy variable forces linker to keep __kmp_version_copyright
+ // and __kmp_version_build_time strings in executable file (in case of
+ // static linkage). When KMP_VERSION analysis is implemented, dummy
+ // variable should be deleted, function should return void.
dummy = __kmp_version_copyright - __kmp_version_build_time;
#if KMP_OS_WINDOWS
OpenPOWER on IntegriCloud