[libc-commits] [libc] 9372e42 - [libc] [NFC] Fixed comments formatting style.

Raman Tenneti via libc-commits libc-commits at lists.llvm.org
Fri Apr 21 17:14:50 PDT 2023


Author: Raman Tenneti
Date: 2023-04-21T17:14:45-07:00
New Revision: 9372e42fd027db8767c324369491b9314f6a218f

URL: https://github.com/llvm/llvm-project/commit/9372e42fd027db8767c324369491b9314f6a218f
DIFF: https://github.com/llvm/llvm-project/commit/9372e42fd027db8767c324369491b9314f6a218f.diff

LOG: [libc] [NFC] Fixed comments formatting style.

Fixed comments formatting style.

Reviewed By: rtenneti

Differential Revision: https://reviews.llvm.org/D148973

Added: 
    

Modified: 
    libc/src/time/nanosleep.cpp
    libc/src/time/nanosleep.h
    libc/test/src/time/asctime_r_test.cpp
    libc/test/src/time/nanosleep_test.cpp

Removed: 
    


################################################################################
diff  --git a/libc/src/time/nanosleep.cpp b/libc/src/time/nanosleep.cpp
index ef20f28b639b9..de2503953f98b 100644
--- a/libc/src/time/nanosleep.cpp
+++ b/libc/src/time/nanosleep.cpp
@@ -1,5 +1,4 @@
-//===-- Implementation of nanosleep function
-//---------------------------------===//
+//===-- Implementation of nanosleep function ------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/src/time/nanosleep.h b/libc/src/time/nanosleep.h
index 5177ef0f63acd..0abe73948be4a 100644
--- a/libc/src/time/nanosleep.h
+++ b/libc/src/time/nanosleep.h
@@ -1,5 +1,4 @@
-//===-- Implementation header of nanosleep -------------------------*- C++
-//-*-===//
+//===-- Implementation header of nanosleep -----------------------*- C++-*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/time/asctime_r_test.cpp b/libc/test/src/time/asctime_r_test.cpp
index 7d40b635960aa..9682f1822f0c5 100644
--- a/libc/test/src/time/asctime_r_test.cpp
+++ b/libc/test/src/time/asctime_r_test.cpp
@@ -1,5 +1,4 @@
-//===-- Unittests for asctime_r
-//--------------------------------------------===//
+//===-- Unittests for asctime_r -------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.

diff  --git a/libc/test/src/time/nanosleep_test.cpp b/libc/test/src/time/nanosleep_test.cpp
index 27c7b0fa2caa3..b66a7e898056b 100644
--- a/libc/test/src/time/nanosleep_test.cpp
+++ b/libc/test/src/time/nanosleep_test.cpp
@@ -1,5 +1,4 @@
-//===-- Unittests for nanosleep
-//---------------------------------------------===//
+//===-- Unittests for nanosleep -------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.


        


More information about the libc-commits mailing list