[PATCH] D155627: [clang][Interp] Handle SourceLocExprs

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 18 10:30:52 PDT 2023


tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, shafik, cor3ntin.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This is a bit awkward, since we get an `APValue` from the expression, which we then need to re-integrate into our bytecode/primtype based interpreter.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155627

Files:
  clang/lib/AST/Interp/ByteCodeExprGen.cpp
  clang/lib/AST/Interp/ByteCodeExprGen.h
  clang/lib/AST/Interp/Program.cpp
  clang/test/AST/Interp/builtin-functions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155627.541628.patch
Type: text/x-patch
Size: 7319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230718/d48639ac/attachment-0001.bin>


More information about the cfe-commits mailing list