summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorNathan Ridge <zeratul976@hotmail.com>2022-04-04 02:29:21 -0400
committerNathan Ridge <zeratul976@hotmail.com>2022-05-17 08:13:37 -0400
commitdf2a4eae6b190806c0b96ef3312975e1c97dbda0 (patch)
tree710ab9bf707a0416744de4ceb888c2f86cf00746 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent77480556c41fbca36b918323c69cb77f8e02b56c (diff)
[clang] Expose CoawaitExpr's operand in the AST
Previously the Expr returned by getOperand() was actually the subexpression common to the "ready", "suspend", and "resume" expressions, which often isn't just the operand but e.g. await_transform() called on the operand. It's important for the AST to expose the operand as written in the source for traversals and tools like clangd to work correctly. Fixes https://github.com/clangd/clangd/issues/939 Differential Revision: https://reviews.llvm.org/D115187
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions