summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Reader/BitstreamReader.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2013-12-28 22:47:53 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2013-12-28 22:47:53 +0000
commitb7d621a6e0379ae7dac47ee66efb6b8e4628bd58 (patch)
treed0ae8cf0996165469cae0aa33ac25dda3090b44e /lib/Bitcode/Reader/BitstreamReader.cpp
parent7d1a69d82676c68ef50fd8e60cbfe9a29d83f67d (diff)
downloadllvm-b7d621a6e0379ae7dac47ee66efb6b8e4628bd58.tar.gz
llvm-b7d621a6e0379ae7dac47ee66efb6b8e4628bd58.tar.bz2
llvm-b7d621a6e0379ae7dac47ee66efb6b8e4628bd58.tar.xz
ARM IAS: handle errors more appropriately
Directive parsers must return false if the target assembler is interested in handling the directive. The Error member function returns true always. Using the 'return Error()' pattern would incorrectly indicate to the general parser that the target was not interested in the directive, when in reality it simply encountered a badly formed directive or some other error. This corrects the behaviour to ensure that the parser behaves appropriately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions