Fixing whitespace problems
llvm-svn: 111751
diff --git a/libcxx/src/string.cpp b/libcxx/src/string.cpp
index 946e915..c1e6ab0 100644
--- a/libcxx/src/string.cpp
+++ b/libcxx/src/string.cpp
@@ -83,7 +83,7 @@
if (r == 0)
throw invalid_argument("stoi: no conversion");
throw out_of_range("stoi: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -104,7 +104,7 @@
if (r == 0)
throw invalid_argument("stoi: no conversion");
throw out_of_range("stoi: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -123,7 +123,7 @@
if (r == 0)
throw invalid_argument("stol: no conversion");
throw out_of_range("stol: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -142,7 +142,7 @@
if (r == 0)
throw invalid_argument("stol: no conversion");
throw out_of_range("stol: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -161,7 +161,7 @@
if (r == 0)
throw invalid_argument("stoul: no conversion");
throw out_of_range("stoul: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -180,7 +180,7 @@
if (r == 0)
throw invalid_argument("stoul: no conversion");
throw out_of_range("stoul: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -199,7 +199,7 @@
if (r == 0)
throw invalid_argument("stoll: no conversion");
throw out_of_range("stoll: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -218,7 +218,7 @@
if (r == 0)
throw invalid_argument("stoll: no conversion");
throw out_of_range("stoll: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -237,7 +237,7 @@
if (r == 0)
throw invalid_argument("stoull: no conversion");
throw out_of_range("stoull: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -256,7 +256,7 @@
if (r == 0)
throw invalid_argument("stoull: no conversion");
throw out_of_range("stoull: out of range");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
}
if (idx)
*idx = static_cast<size_t>(ptr - p);
@@ -277,7 +277,7 @@
throw out_of_range("stof: out of range");
if (ptr == p)
throw invalid_argument("stof: no conversion");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
if (idx)
*idx = static_cast<size_t>(ptr - p);
return static_cast<float>(r);
@@ -297,7 +297,7 @@
throw out_of_range("stof: out of range");
if (ptr == p)
throw invalid_argument("stof: no conversion");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
if (idx)
*idx = static_cast<size_t>(ptr - p);
return static_cast<float>(r);
@@ -317,7 +317,7 @@
throw out_of_range("stod: out of range");
if (ptr == p)
throw invalid_argument("stod: no conversion");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -337,7 +337,7 @@
throw out_of_range("stod: out of range");
if (ptr == p)
throw invalid_argument("stod: no conversion");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -357,7 +357,7 @@
throw out_of_range("stold: out of range");
if (ptr == p)
throw invalid_argument("stold: no conversion");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;
@@ -377,7 +377,7 @@
throw out_of_range("stold: out of range");
if (ptr == p)
throw invalid_argument("stold: no conversion");
-#endif
+#endif // _LIBCPP_NO_EXCEPTIONS
if (idx)
*idx = static_cast<size_t>(ptr - p);
return r;