Fix Wdocumentation warning

llvm-svn: 297784
This commit is contained in:
Simon Pilgrim 2017-03-14 21:43:52 +00:00
parent 24d0016bbd
commit 2df199820b
1 changed files with 1 additions and 1 deletions

View File

@ -687,7 +687,7 @@ void CodeGenFunction::EmitNullabilityCheck(LValue LHS, llvm::Value *RHS,
llvm::Value *IsNotNull = Builder.CreateIsNotNull(RHS);
llvm::Constant *StaticData[] = {
EmitCheckSourceLocation(Loc), EmitCheckTypeDescriptor(LHS.getType()),
llvm::ConstantInt::get(Int8Ty, 0), //< The LogAlignment info is unused.
llvm::ConstantInt::get(Int8Ty, 0), // The LogAlignment info is unused.
llvm::ConstantInt::get(Int8Ty, TCK_NonnullAssign)};
EmitCheck({{IsNotNull, SanitizerKind::NullabilityAssign}},
SanitizerHandler::TypeMismatch, StaticData, RHS);