diff options
author | Mandeep Singh Grang <mgrang@codeaurora.org> | 2018-04-16 18:56:10 +0000 |
---|---|---|
committer | Mandeep Singh Grang <mgrang@codeaurora.org> | 2018-04-16 18:56:10 +0000 |
commit | 88a8b269b4f1bb1f2761bef4db028adc9bcaa5fe (patch) | |
tree | d6a6b88726780c350e9bb0f65636e82bb801359c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 70539360e6a743edd257889c00e7856ec3101d0d (diff) | |
download | bcm5719-llvm-88a8b269b4f1bb1f2761bef4db028adc9bcaa5fe.tar.gz bcm5719-llvm-88a8b269b4f1bb1f2761bef4db028adc9bcaa5fe.zip |
[RISCV] Fix assert message operator
Summary:
Specifying assert message with an || operator makes the compiler interpret it
as a bool. Changed it to &&.
Reviewers: asb, apazos
Reviewed By: asb
Subscribers: rbar, johnrusso, simoncook, jordy.potman.lists, sabuasal, niosHD, kito-cheng, shiva0217, zzheng, llvm-commits
Differential Revision: https://reviews.llvm.org/D45660
llvm-svn: 330148
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions