[libc-commits] [PATCH] D75205: [libc] Fix typo of namespace in round implementation.

Paula Toth via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Feb 26 12:27:40 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG52073310e443: [libc] Fix typo of namespace in round implementation. (authored by PaulkaToast).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75205/new/

https://reviews.llvm.org/D75205

Files:
  libc/src/math/round/round.cpp
  libc/src/math/round/round.h
  libc/src/math/round/round_redirector.cpp


Index: libc/src/math/round/round_redirector.cpp
===================================================================
--- libc/src/math/round/round_redirector.cpp
+++ libc/src/math/round/round_redirector.cpp
@@ -8,10 +8,10 @@
 
 #include <math.h>
 
-namespace llvm_libc {
+namespace __llvm_libc {
 
 double __round_redirector(double x) {
   return ::round(x);
 }
 
-} // namespace llvm_libc
+} // namespace __llvm_libc
Index: libc/src/math/round/round.h
===================================================================
--- libc/src/math/round/round.h
+++ libc/src/math/round/round.h
@@ -9,10 +9,10 @@
 #ifndef LLVM_LIBC_SRC_MATH_ROUND_H
 #define LLVM_LIBC_SRC_MATH_ROUND_H
 
-namespace llvm_libc {
+namespace __llvm_libc {
 
 double round(double x);
 
-} // namespace llvm_libc
+} // namespace __llvm_libc
 
 #endif // LLVM_LIBC_SRC_MATH_ROUND_H
Index: libc/src/math/round/round.cpp
===================================================================
--- libc/src/math/round/round.cpp
+++ libc/src/math/round/round.cpp
@@ -10,7 +10,7 @@
 
 #include "src/__support/common.h"
 
-namespace llvm_libc {
+namespace __llvm_libc {
 
 double __round_redirector(double x);
 
@@ -18,4 +18,4 @@
   return __round_redirector(x);
 }
 
-} // namespace llvm_libc
+} // namespace __llvm_libc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75205.246817.patch
Type: text/x-patch
Size: 1277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200226/08886043/attachment-0001.bin>


More information about the libc-commits mailing list