[all-commits] [llvm/llvm-project] 1ecaa6: [clang][Interp] Handle enums

Timm Bäder via All-commits all-commits at lists.llvm.org
Thu Sep 29 23:20:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ecaa617e73e9c1eeba47b0d12626f0a846a4288
      https://github.com/llvm/llvm-project/commit/1ecaa617e73e9c1eeba47b0d12626f0a846a4288
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    A clang/test/AST/Interp/enums-targets.cpp
    A clang/test/AST/Interp/enums.cpp

  Log Message:
  -----------
  [clang][Interp] Handle enums

Handle DeclRefExprs of enum types. They are otherwise handled like
integers.

Differential Revision: https://reviews.llvm.org/D134020




More information about the All-commits mailing list