aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorVassil Vassilev <v.g.vassilev@gmail.com>2025-07-19 09:25:27 +0300
committerGitHub <noreply@github.com>2025-07-19 09:25:27 +0300
commit9bf7d04c4386daf1ef0acf95782a59855c98474a (patch)
tree3230ebe6ebcb7d0240712c8bcc55fa24fe2c244b /clang/lib/CodeGen/CodeGenFunction.cpp
parentc875bb8eef6c60e7cd5814fdbab149abb86efa30 (diff)
downloadllvm-9bf7d04c4386daf1ef0acf95782a59855c98474a.zip
llvm-9bf7d04c4386daf1ef0acf95782a59855c98474a.tar.gz
llvm-9bf7d04c4386daf1ef0acf95782a59855c98474a.tar.bz2
[clang-repl] Lay the basic infrastructure for pretty printing of types (#148701)
The idea is to store a type-value pair in clang::Value which is updated by the interpreter runtime. The class copies builtin types and boxes non-builtin types to provide some lifetime control. The patch enables default printers for C and C++ using a very minimalistic approach. We handle enums, arrays and user types. Once we land this we can focus on enabling user-defined pretty-printers which take control over printing of types The work started as part of https://reviews.llvm.org/D146809, then we created a giant in https://github.com/llvm/llvm-project/pull/84769
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions