diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-18 21:53:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-18 21:53:02 +0000 |
commit | 95d1ba492c3191f49392e53acbf878e39fc8ba0a (patch) | |
tree | ccba6d441ab10506741836ed83ebca79014adb84 /lib/Lex/Preprocessor.cpp | |
parent | 204b2fed909b1eabea7aeb6caadd7cff718edee5 (diff) |
Allow diagnostics to be used in bool context, like:
return Diag(...);
when the function returns bool. This always evaluates to true.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59555 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions