diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-04-09 07:56:27 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-04-09 07:56:27 +0000 |
| commit | 815433587cc62a5b0f361dd11bbf6d846c9ee50c (patch) | |
| tree | 7b95f60b3e11f4e754c34199adee0f2c7b3a79ec /clang/utils/ClangDataFormat.py | |
| parent | c3d9db23368dda199704a9f39b9cbe551f1992f8 (diff) | |
| download | bcm5719-llvm-815433587cc62a5b0f361dd11bbf6d846c9ee50c.tar.gz bcm5719-llvm-815433587cc62a5b0f361dd11bbf6d846c9ee50c.zip | |
YAMLIO: Encode ambiguous hex strings explicitly
YAMLIO would turn a BinaryRef into the string 0000000004000000.
However, the leading zero causes parsers to interpret it as being an
octal number instead of a hexadecimal one.
Instead, escape such strings as needed.
llvm-svn: 205839
Diffstat (limited to 'clang/utils/ClangDataFormat.py')
0 files changed, 0 insertions, 0 deletions

