aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2023-08-07 14:44:51 -0700
committerNick Desaulniers <ndesaulniers@google.com>2023-08-07 14:51:01 -0700
commit769333aeeb4508a39ce61cde5d70d880f9abfc35 (patch)
treecbc1de50ef13b4654b1647a3f30ce4611332e287 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parentf6ba352988b2734cbbd21df98e5e5536d3cad98f (diff)
downloadllvm-769333aeeb4508a39ce61cde5d70d880f9abfc35.zip
llvm-769333aeeb4508a39ce61cde5d70d880f9abfc35.tar.gz
llvm-769333aeeb4508a39ce61cde5d70d880f9abfc35.tar.bz2
[clang][CGExprConstant] handle unary negation on integrals
Consider the statement: int x = -1; And the following AST: `-VarDecl 0x55c4823a7670 <x.c:2:1, col:10> col:5 x 'int' cinit `-UnaryOperator 0x55c4823a7740 <col:9, col:10> 'int' prefix '-' `-IntegerLiteral 0x55c4823a7720 <col:10> 'int' 1 Return the evaluation of the subexpression negated. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D156378
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions