diff options
author | Howard Hinnant <hhinnant@apple.com> | 2010-08-22 00:03:27 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2010-08-22 00:03:27 +0000 |
commit | 940e211c87ceb6e43bf7a2bfd5df9783ad75ae6c (patch) | |
tree | 43c7c28a8644d312e1618bf0c2a7251f8fb9d2f6 /libcxx/src/string.cpp | |
parent | b3371f6f4909a1e2034c69011d0baa1a39b21d48 (diff) | |
download | bcm5719-llvm-940e211c87ceb6e43bf7a2bfd5df9783ad75ae6c.tar.gz bcm5719-llvm-940e211c87ceb6e43bf7a2bfd5df9783ad75ae6c.zip |
Fixing whitespace problems
llvm-svn: 111751
Diffstat (limited to 'libcxx/src/string.cpp')
-rw-r--r-- | libcxx/src/string.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/libcxx/src/string.cpp b/libcxx/src/string.cpp index 946e915af6e..c1e6ab06858 100644 --- a/libcxx/src/string.cpp +++ b/libcxx/src/string.cpp @@ -83,7 +83,7 @@ stoi(const string& str, size_t* idx, int base) 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 @@ stoi(const wstring& str, size_t* idx, int base) 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 @@ stol(const string& str, size_t* idx, int base) 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 @@ stol(const wstring& str, size_t* idx, int base) 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 @@ stoul(const string& str, size_t* idx, int base) 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 @@ stoul(const wstring& str, size_t* idx, int base) 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 @@ stoll(const string& str, size_t* idx, int base) 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 @@ stoll(const wstring& str, size_t* idx, int base) 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 @@ stoull(const string& str, size_t* idx, int base) 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 @@ stoull(const wstring& str, size_t* idx, int base) 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 @@ stof(const string& str, size_t* idx) 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 @@ stof(const wstring& str, size_t* idx) 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 @@ stod(const string& str, size_t* idx) 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 @@ stod(const wstring& str, size_t* idx) 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 @@ stold(const string& str, size_t* idx) 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 @@ stold(const wstring& str, size_t* idx) 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; |