[clang] [llvm] [HLSL] Implement Texture2D type and Sample method in Clang (PR #177240)
Nathan Gauër via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 27 08:35:07 PST 2026
================
@@ -497,7 +502,7 @@ void BuiltinTypeMethodBuilder::createDecl() {
else
Method = CXXMethodDecl::Create(
AST, DeclBuilder.Record, SourceLocation(), NameInfo, FuncTy, TSInfo, SC,
- false, false, ConstexprSpecKind::Unspecified, SourceLocation());
+ false, true, ConstexprSpecKind::Unspecified, SourceLocation());
----------------
Keenuts wrote:
```suggestion
false, /* isInline= */ true, ConstexprSpecKind::Unspecified, SourceLocation());
```
https://github.com/llvm/llvm-project/pull/177240
More information about the cfe-commits
mailing list