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 | b71afe82bf922f636eac2851486ef25ce4e780bf (patch) | |
| tree | 508823e04cf8b882e8a2c8cd674f66a56fd33fbf /llvm/lib/AsmParser | |
| parent | 440b2804ff060b727d6a6488e0c9eccac46e4d6d (diff) | |
| download | bcm5719-llvm-b71afe82bf922f636eac2851486ef25ce4e780bf.tar.gz bcm5719-llvm-b71afe82bf922f636eac2851486ef25ce4e780bf.zip | |
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.
llvm-svn: 122192
Diffstat (limited to 'llvm/lib/AsmParser')
| -rw-r--r-- | llvm/lib/AsmParser/LLLexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp index 3c74c26f55a..99989ac971b 100644 --- a/llvm/lib/AsmParser/LLLexer.cpp +++ b/llvm/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; } |

