diff options
author | Pete Cooper <peter_cooper@apple.com> | 2015-06-22 19:35:57 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2015-06-22 19:35:57 +0000 |
commit | 80d21cb40dadc9b976a88143d50e0d900cd472a9 (patch) | |
tree | 2b6142b94c2a1305734733d093a6b91b9a964331 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b9338e7f5ab639aef5a8e97596d66f545a938715 (diff) | |
download | llvm-80d21cb40dadc9b976a88143d50e0d900cd472a9.zip llvm-80d21cb40dadc9b976a88143d50e0d900cd472a9.tar.gz llvm-80d21cb40dadc9b976a88143d50e0d900cd472a9.tar.bz2 |
Change .thumb_set to have the same error checks as .set.
According to the documentation, .thumb_set is 'the equivalent of a .set directive'.
We didn't have equivalent behaviour in terms of all the errors we could throw, for
example, when a symbol is redefined.
This change refactors parseAssignment so that it can be used by .set and .thumb_set
and implements tests for .thumb_set for all the errors thrown by that method.
Reviewed by Rafael EspĂndola.
llvm-svn: 240318
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions