diff options
| author | Ted Kremenek <kremenek@apple.com> | 2007-12-03 17:09:21 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2007-12-03 17:09:21 +0000 |
| commit | d85026d925ba33148a82b8ed5ff90cdbea8dc6f9 (patch) | |
| tree | d76cee60bbbf21cc67a64f6abfd74e4baec4c51b /llvm/docs | |
| parent | 4814cd227195d7b02b25070a73d0e91d0e42ba95 (diff) | |
| download | bcm5719-llvm-d85026d925ba33148a82b8ed5ff90cdbea8dc6f9.tar.gz bcm5719-llvm-d85026d925ba33148a82b8ed5ff90cdbea8dc6f9.zip | |
Added getTrueExpr() and getFalseExpr() to ConditionalOperator. These methods
provide handy accessors to the subexpressions of ConditionalOperator that
automatically take into account the GCC extension where the "LHS" expression is
omitted: e.g x ?: y;. When the LHS expression is available, getTrueExpr() is the
same as getLHS(); when LHS is NULL, getTrueExpr() returns the condition expression.
llvm-svn: 44536
Diffstat (limited to 'llvm/docs')
0 files changed, 0 insertions, 0 deletions

