[all-commits] [llvm/llvm-project] 4abd86: [clang][Interp][NFC] Trim InterpFrame includes

Timm Bäder via All-commits all-commits at lists.llvm.org
Sat Oct 22 01:50:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4abd8683043811792dcbc597abaa02bb482bb959
      https://github.com/llvm/llvm-project/commit/4abd8683043811792dcbc597abaa02bb482bb959
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M clang/lib/AST/Interp/InterpFrame.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Trim InterpFrame includes


  Commit: d49fe7c95bdf35dcb39068550a7c4039769de414
      https://github.com/llvm/llvm-project/commit/d49fe7c95bdf35dcb39068550a7c4039769de414
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M clang/test/AST/Interp/cxx20.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Add another failing test case

Function parameters need to be checked before the function is called.


  Commit: 8013ab4f98c2ed3bb11dcb83179664cb595c31bb
      https://github.com/llvm/llvm-project/commit/8013ab4f98c2ed3bb11dcb83179664cb595c31bb
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeEmitter.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Simplify creating parameter descriptors

... using value_or instead of the if-else statement.


  Commit: cc79ddb52c310be50d2ed0e0307b695cc7c142ce
      https://github.com/llvm/llvm-project/commit/cc79ddb52c310be50d2ed0e0307b695cc7c142ce
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/Function.cpp
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/records.cpp

  Log Message:
  -----------
  [clang][Interp] Check instance pointers before calling functions on them

Remove the double Call() implementation to reduce code duplication. Then
fix Function::getSource() so we can diagnose instance pointers being
null.

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


  Commit: 0e754cfadc9487282d9b6119c41962c5c6c3660f
      https://github.com/llvm/llvm-project/commit/0e754cfadc9487282d9b6119c41962c5c6c3660f
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/EvalEmitter.cpp
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td

  Log Message:
  -----------
  [clang][Interp][NFC] Unify Call() implementations

The type parameter we used to pass to call() was unused. Use the same
implementation for void and value-returning function calls.


Compare: https://github.com/llvm/llvm-project/compare/c29f0638c1e1...0e754cfadc94


More information about the All-commits mailing list