diff options
author | Rui Ueyama <ruiu@google.com> | 2017-10-11 19:30:39 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-10-11 19:30:39 +0000 |
commit | 4092016b7ba6996d228892241bef1b0e4a8120e3 (patch) | |
tree | e869e65a07ccb7067509c1ca5a0ad4c3697aa516 /llvm/tools/llvm-rc/ResourceScriptParser.cpp | |
parent | c530f497b89aff0f917fb6942fd65032f30d9381 (diff) | |
download | bcm5719-llvm-4092016b7ba6996d228892241bef1b0e4a8120e3.tar.gz bcm5719-llvm-4092016b7ba6996d228892241bef1b0e4a8120e3.zip |
Return early if it fails to parse a hex string.
This patch doesn't change the behavior of the program because it
would eventually return None at end of the function. But it is
better to return None early if we know it will eventually happen.
llvm-svn: 315495
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions