tools/clang/lib/Sema/SemaHLSL.cpp
/// <summary>Performs HLSL-specific processing for unary operators.</summary>
Performs HLSL-specific processing for unary operators.
Performs HLSL - specific processing for unary operators .
QualType hlsl::CheckUnaryOpForHLSL(Sema& self,
  SourceLocation OpLoc,
  UnaryOperatorKind Opc,
  ExprResult& InputExpr,
  ExprValueKind& VK,
  ExprObjectKind& OK)
{
  ExternalSemaSource* externalSource = self.getExternalSource();
  if (externalSource == nullptr) {
    return QualType();
  }
  HLSLExternalSource* hlsl = reinterpret_cast<HLSLExternalSource*>(externalSource);
  return hlsl->CheckUnaryOpForHLSL(OpLoc, Opc, InputExpr, VK, OK);
}
QualType hlsl :: CheckUnaryOpForHLSL ( Sema & self , SourceLocation OpLoc , UnaryOperatorKind Opc , ExprResult & InputExpr , ExprValueKind & VK , ExprObjectKind & OK ) { ExternalSemaSource * externalSource = self . getExternalSource ( ) ; if ( externalSource == nullptr ) { return QualType ( ) ; } HLSLExternalSource * hlsl = reinterpret_cast < HLSLExternalSource * > ( externalSource ) ; return hlsl -> CheckUnaryOpForHLSL ( OpLoc , Opc , InputExpr , VK , OK ) ; }
<summary>Performs HLSL-specific processing for unary operators.</summary>
<summary > Performs HLSL - specific processing for unary operators . < / summary >