aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2021-02-04 14:57:50 -0800
committerRiver Riddle <riddleriver@gmail.com>2021-02-04 15:10:10 -0800
commite21adfa32d8822f9ea4058c3e365a841d87cb3ee (patch)
tree914d03ece1c4e593ca0ff65c088a5eebd83e3c8e /clang/lib/Frontend/CompilerInvocation.cpp
parente355110040d17dcbf0fcfcba386c4d96fe6fe7ec (diff)
downloadllvm-e21adfa32d8822f9ea4058c3e365a841d87cb3ee.zip
llvm-e21adfa32d8822f9ea4058c3e365a841d87cb3ee.tar.gz
llvm-e21adfa32d8822f9ea4058c3e365a841d87cb3ee.tar.bz2
[mlir] Mark LogicalResult as LLVM_NODISCARD
This makes ignoring a result explicit by the user, and helps to prevent accidental errors with dropped results. Marking LogicalResult as no discard was always the intention from the beginning, but got lost along the way. Differential Revision: https://reviews.llvm.org/D95841
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions