[all-commits] [llvm/llvm-project] 264d82: [clang][Interp][NFC] Redo returning values from bu...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Feb 26 07:48:49 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 264d828ea6399c31c210b67a050fbf084634da6a
      https://github.com/llvm/llvm-project/commit/264d828ea6399c31c210b67a050fbf084634da6a
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

  Changed paths:
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/test/CodeGen/ms-intrinsics-other.c

  Log Message:
  -----------
  [clang][Interp][NFC] Redo returning values from builtin functions

Instead of having retInt/retLong/retSizeT/etc., just add retInteger,
which takes an APSInt and returns it in form of the given QualType.
This makes the code a little neater, but is also necessary since
some builtins have a different return type with -fms-extensions.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list