tools/clang/lib/Sema/SemaHLSL.cpp
/// <summary>Performs HLSL-specific processing for binary operators.</summary>
Performs HLSL-specific processing for binary operators.
Performs HLSL - specific processing for binary operators .
void hlsl::CheckBinOpForHLSL(Sema& self,
  SourceLocation OpLoc,
  BinaryOperatorKind Opc,
  ExprResult& LHS,
  ExprResult& RHS,
  QualType& ResultTy,
  QualType& CompLHSTy,
  QualType& CompResultTy)
{
  ExternalSemaSource* externalSource = self.getExternalSource();
  if (externalSource == nullptr) {
    return;
  }
  HLSLExternalSource* hlsl = reinterpret_cast<HLSLExternalSource*>(externalSource);
  return hlsl->CheckBinOpForHLSL(OpLoc, Opc, LHS, RHS, ResultTy, CompLHSTy, CompResultTy);
}
void hlsl :: CheckBinOpForHLSL ( Sema & self , SourceLocation OpLoc , BinaryOperatorKind Opc , ExprResult & LHS , ExprResult & RHS , QualType & ResultTy , QualType & CompLHSTy , QualType & CompResultTy ) { ExternalSemaSource * externalSource = self . getExternalSource ( ) ; if ( externalSource == nullptr ) { return ; } HLSLExternalSource * hlsl = reinterpret_cast < HLSLExternalSource * > ( externalSource ) ; return hlsl -> CheckBinOpForHLSL ( OpLoc , Opc , LHS , RHS , ResultTy , CompLHSTy , CompResultTy ) ; }
<summary>Performs HLSL-specific processing for binary operators.</summary>
<summary > Performs HLSL - specific processing for binary operators . < / summary >