diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-22 19:14:29 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-22 19:14:29 +0000 |
commit | cf172e5e288a93130d8fe8ec43dc8ef51ab48e8b (patch) | |
tree | e4bad68eed64723dbdf62b38ec1b61d19cfd98d3 /clang/lib/Sema/SemaStmtAsm.cpp | |
parent | c4aecf9994444e1907670a39e72c25b3b76cbb97 (diff) | |
download | bcm5719-llvm-cf172e5e288a93130d8fe8ec43dc8ef51ab48e8b.tar.gz bcm5719-llvm-cf172e5e288a93130d8fe8ec43dc8ef51ab48e8b.zip |
[ms-inline asm] Avoid a false positive assertion
Assertion failed: (Start.isValid() == End.isValid() && "Start and end should
either both be valid or both be invalid!")
when parsing inline asm. SMLoc assumes that the first char * in the source is
invalid. However, when parsing an inline asm the mnemonic is at this location.
I don't want to change SMLoc, so use a trivial workaround.
llvm-svn: 162381
Diffstat (limited to 'clang/lib/Sema/SemaStmtAsm.cpp')
0 files changed, 0 insertions, 0 deletions