Skip to content

Commit 6dc3a1a

Browse files
committed
Merge branch 'users/hekota/pr-124840' of https://github.com/llvm/llvm-project into cbuffer-codegen5
2 parents 749e88e + a12bcbc commit 6dc3a1a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clang/lib/Sema/SemaDecl.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14184,12 +14184,6 @@ void Sema::ActOnUninitializedDecl(Decl *RealDecl) {
1418414184
Var->getType().getAddressSpace() == LangAS::opencl_local)
1418514185
return;
1418614186

14187-
// In HLSL, objects in the hlsl_constat address space are initialized
14188-
// externaly, so don't synthesize an implicit initializer.
14189-
if (getLangOpts().HLSL &&
14190-
Var->getType().getAddressSpace() == LangAS::hlsl_constant)
14191-
return;
14192-
1419314187
// C++03 [dcl.init]p9:
1419414188
// If no initializer is specified for an object, and the
1419514189
// object is of (possibly cv-qualified) non-POD class type (or

0 commit comments

Comments
 (0)