summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceFileWriter.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-10-11 19:30:39 +0000
committerRui Ueyama <ruiu@google.com>2017-10-11 19:30:39 +0000
commit4092016b7ba6996d228892241bef1b0e4a8120e3 (patch)
treee869e65a07ccb7067509c1ca5a0ad4c3697aa516 /llvm/tools/llvm-rc/ResourceFileWriter.cpp
parentc530f497b89aff0f917fb6942fd65032f30d9381 (diff)
downloadbcm5719-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/ResourceFileWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud