[all-commits] [llvm/llvm-project] f8a9c5: [clang][Interp] Emit diagnostic when comparing fun...
Timm Bäder via All-commits
all-commits at lists.llvm.org
Thu Apr 27 03:33:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f8a9c55bef380a592c4588025f8b6ca4dfc94c47
https://github.com/llvm/llvm-project/commit/f8a9c55bef380a592c4588025f8b6ca4dfc94c47
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2023-04-27 (Thu, 27 Apr 2023)
Changed paths:
M clang/lib/AST/Interp/FunctionPointer.h
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Emit diagnostic when comparing function pointers
Function pointers can be compared for (in)equality but, but LE, GE, LT,
and GT opcodes should emit an error and abort.
Differential Revision: https://reviews.llvm.org/D149154
More information about the All-commits
mailing list