diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-12-19 20:42:43 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-12-19 20:42:43 +0000 |
commit | 2402123413080aee8e9418e4f08b8613ef5cc360 (patch) | |
tree | 613d8ee7c19c9b6ab2f7d10687676375bdee2592 /lib/AsmParser/LLLexer.cpp | |
parent | da60588402e8913f5b7ec40945d4170d0c4ffaf5 (diff) |
Add missing std:: prefixes to some calls. C++ doesn't require that <cfoo>
headers provide symbols outside namespace std and the LLVM coding standards
state that we should prefix all of them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLLexer.cpp')
-rw-r--r-- | lib/AsmParser/LLLexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AsmParser/LLLexer.cpp b/lib/AsmParser/LLLexer.cpp index 3c74c26f55..99989ac971 100644 --- a/lib/AsmParser/LLLexer.cpp +++ b/lib/AsmParser/LLLexer.cpp @@ -833,7 +833,7 @@ lltok::Kind LLLexer::LexDigitOrNegative() { } } - APFloatVal = APFloat(atof(TokStart)); + APFloatVal = APFloat(std::atof(TokStart)); return lltok::APFloat; } @@ -867,6 +867,6 @@ lltok::Kind LLLexer::LexPositive() { } } - APFloatVal = APFloat(atof(TokStart)); + APFloatVal = APFloat(std::atof(TokStart)); return lltok::APFloat; } |