[all-commits] [llvm/llvm-project] 9b9845: [HLSL][NFC] Move IsIntangibleType from SemaHLSL to...

Helena Kotas via All-commits all-commits at lists.llvm.org
Tue Oct 22 16:32:31 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b984554d769f1f81adb654345aa9ef37d5e5b44
      https://github.com/llvm/llvm-project/commit/9b984554d769f1f81adb654345aa9ef37d5e5b44
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2024-10-22 (Tue, 22 Oct 2024)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Sema/SemaHLSL.h
    M clang/lib/AST/DeclCXX.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaHLSL.cpp

  Log Message:
  -----------
  [HLSL][NFC] Move IsIntangibleType from SemaHLSL to Type to make it accessible outside of Sema (#113206)

Moves `IsIntangibleType` from SemaHLSL to Type class and renames it to
`isHLSLIntangibleType`. The existing `isHLSLIntangibleType` is renamed
to `isHLSLBuiltinIntangibleType` and updated to return true only for the
builtin `__hlsl_resource_t` type.

This change makes `isHLSLIntangibleType` functionality accessible
outside of Sema, for example from clang CodeGen.



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