aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-07-09 15:02:07 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-07-09 15:02:07 +0000
commitb1e511bf5a4c702ace445848b30070ac2e021241 (patch)
tree22de771c7632577d77a3949f333a3231e4ac193a /llvm/lib/Object/Binary.cpp
parentd95557306585404893d610784edb3e32f1bfce18 (diff)
downloadllvm-b1e511bf5a4c702ace445848b30070ac2e021241.zip
llvm-b1e511bf5a4c702ace445848b30070ac2e021241.tar.gz
llvm-b1e511bf5a4c702ace445848b30070ac2e021241.tar.bz2
Ignore trailing NullStmts in StmtExprs for GCC compatibility.
Ignore trailing NullStmts in compound expressions when determining the result type and value. This is to match the GCC behavior which ignores semicolons at the end of compound expressions. Patch by Dominic Ferreira. llvm-svn: 365498
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions