We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80415a commit a12bcbcCopy full SHA for a12bcbc
clang/lib/Sema/SemaDecl.cpp
@@ -14184,12 +14184,6 @@ void Sema::ActOnUninitializedDecl(Decl *RealDecl) {
14184
Var->getType().getAddressSpace() == LangAS::opencl_local)
14185
return;
14186
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
-
14193
// C++03 [dcl.init]p9:
14194
// If no initializer is specified for an object, and the
14195
// object is of (possibly cv-qualified) non-POD class type (or
0 commit comments