diff options
-rw-r--r-- | clang/Sema/Sema.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h index 21a7cdcbfc8..1b232df356b 100644 --- a/clang/Sema/Sema.h +++ b/clang/Sema/Sema.h @@ -696,6 +696,9 @@ private: QualType ElementType, bool isStatic, int &nInitializers, bool &hadError); + // CheckVectorCast - check type constraints for vectors. + // Since vectors are an extension, there are no C standard reference for this. + // We allow casting between vectors and integer datatypes of the same size. // returns true if the cast is invalid bool CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty); |