[all-commits] [llvm/llvm-project] a2a547: [clang][Interp] Implement boolean and nullptr lite...

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed Aug 17 22:12:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2a5470fc2499981ad8b4e2aa98ef7ea9893df6c
      https://github.com/llvm/llvm-project/commit/a2a5470fc2499981ad8b4e2aa98ef7ea9893df6c
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.h
    M clang/lib/AST/Interp/Disasm.cpp
    M clang/lib/AST/Interp/Function.cpp
    M clang/lib/AST/Interp/Function.h
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Source.h
    A clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Implement boolean and nullptr literals

Handle CXX bool literals as well as nullptr literals and add a few tests
for each.

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




More information about the All-commits mailing list