History log of /llvm-project/clang/lib/AST/ByteCode/EvalEmitter.cpp (Results 1 – 8 of 8)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init
# a0bd40e5 14-Jan-2025 Timm Bäder <tbaeder@redhat.com>

Revert "[clang][bytecode] Mark global decls with diagnostics invalid (#122895)"

This reverts commit c1de9b920935e7d2fcc8dd7b39c1b7285783e948.

It looks like this breaks the memory-sanitizer builder:

Revert "[clang][bytecode] Mark global decls with diagnostics invalid (#122895)"

This reverts commit c1de9b920935e7d2fcc8dd7b39c1b7285783e948.

It looks like this breaks the memory-sanitizer builder:
https://lab.llvm.org/buildbot/#/builders/94/builds/3745

show more ...


# c1de9b92 14-Jan-2025 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Mark global decls with diagnostics invalid (#122895)

Even if their evaluation succeeds, mark them as invalid. This fixes some
long standing differences to the ast walker interpeter.


Revision tags: llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4
# dec6324c 17-Nov-2024 Kazu Hirata <kazu@google.com>

[AST] Remove unused includes (NFC) (#116549)

Identified with misc-include-cleaner.


Revision tags: llvmorg-19.1.3
# 3eaf4a9d 18-Oct-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Check for memory leaks after destroying global scope (#112868)

The global scope we create when evaluating expressions might free some
of the dynamic memory allocations, so we can'

[clang][bytecode] Check for memory leaks after destroying global scope (#112868)

The global scope we create when evaluating expressions might free some
of the dynamic memory allocations, so we can't check for memory leaks
before destroying it.

show more ...


Revision tags: llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0
# 83fea8b8 07-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Allow continuing when discarded MemberExpr Base fails (#107231)

We don't need the value in this case, since we're discarding it anyway.
Allow continuing the interpretation but not

[clang][bytecode] Allow continuing when discarded MemberExpr Base fails (#107231)

We don't need the value in this case, since we're discarding it anyway.
Allow continuing the interpretation but note the side effect.

show more ...


Revision tags: llvmorg-19.1.0-rc4
# d9e72860 26-Aug-2024 yronglin <yronglin777@gmail.com>

[NFC][clang][bytecode] Rename `clang::interp::State::getCtx` to `clang::interp::State::getASTContext` (#106071)

The new constant interpreter's `clang::interp::InterpState` contains
both `clang::int

[NFC][clang][bytecode] Rename `clang::interp::State::getCtx` to `clang::interp::State::getASTContext` (#106071)

The new constant interpreter's `clang::interp::InterpState` contains
both `clang::interp::Context` and `clang::ASTContext`. So using `S.Ctx`
and `S.getCtx()` was a bit confusing. This PR rename `getCtx()` to
`getASTContext` to make things more clearer.

Signed-off-by: yronglin <yronglin777@gmail.com>

show more ...


# a14c7309 21-Aug-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Fix diagnostic in final ltor cast (#105292)

Don't diagnose volatile reads but diagnose a few other accesses earlier.


Revision tags: llvmorg-19.1.0-rc3
# a07aba5d 16-Aug-2024 Timm Baeder <tbaeder@redhat.com>

[clang] Rename all AST/Interp stuff to AST/ByteCode (#104552)

"Interp" clashes with the clang interpreter and people often confuse
this.