tools/clang/lib/Sema/SemaHLSL.cpp
/// <summary>Performs HLSL-specific initialization on the specified context.</summary>
Performs HLSL-specific initialization on the specified context.
Performs HLSL - specific initialization on the specified context .
void hlsl::InitializeASTContextForHLSL(ASTContext& context)
{
  HLSLExternalSource* hlslSource = new HLSLExternalSource();
  IntrusiveRefCntPtr<ExternalASTSource> externalSource(hlslSource);
  if (hlslSource->Initialize(context)) {
    context.setExternalSource(externalSource);
  }
}
void hlsl :: InitializeASTContextForHLSL ( ASTContext & context ) { HLSLExternalSource * hlslSource = new HLSLExternalSource ( ) ; IntrusiveRefCntPtr < ExternalASTSource > externalSource ( hlslSource ) ; if ( hlslSource -> Initialize ( context ) ) { context . setExternalSource ( externalSource ) ; } }
<summary>Performs HLSL-specific initialization on the specified context.</summary>
<summary > Performs HLSL - specific initialization on the specified context . < / summary >