[all-commits] [llvm/llvm-project] 965d30: [clang][Interp] Implement __builtin_classify_type ...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Nov 17 07:13:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 965d301dff1837e2a7a0671c549bcf7ddb350486
      https://github.com/llvm/llvm-project/commit/965d301dff1837e2a7a0671c549bcf7ddb350486
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

  Changed paths:
    A clang/lib/AST/ExprConstShared.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/Interp/ByteCodeEmitter.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.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/InterpBuiltin.cpp
    M clang/test/Sema/builtin-classify-type.c
    M clang/test/SemaCXX/builtin-classify-type.cpp

  Log Message:
  -----------
  [clang][Interp] Implement __builtin_classify_type (#71972)

This adds some infrastructure for unevaluated builtin calls, and uses the implementation from ExprConstant.cpp




More information about the All-commits mailing list