[all-commits] [llvm/llvm-project] 1566f1: [clang-repl] Add a interpreter-specific overload o...
Vassil Vassilev via All-commits
all-commits at lists.llvm.org
Thu Jan 18 06:06:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1566f1ffc6b52bee659071d460123c1c4a358d01
https://github.com/llvm/llvm-project/commit/1566f1ffc6b52bee659071d460123c1c4a358d01
Author: Vassil Vassilev <v.g.vassilev at gmail.com>
Date: 2024-01-18 (Thu, 18 Jan 2024)
Changed paths:
M clang/include/clang/Interpreter/Interpreter.h
M clang/lib/Interpreter/Interpreter.cpp
M clang/test/Interpreter/incremental-mode.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
Log Message:
-----------
[clang-repl] Add a interpreter-specific overload of operator new for C++ (#76218)
This patch brings back the basic support for C by inserting the required
for value printing runtime only when we are in C++ mode. Additionally,
it defines a new overload of operator placement new because we can't
really forward declare it in a library-agnostic way.
Fixes the issue described in llvm/llvm-project#69072.
More information about the All-commits
mailing list