forked from OSchip/llvm-project
parent
66037791b1
commit
d73e4419f5
|
@ -354,7 +354,7 @@ ConversionResult ConvertUTF8toUTF32 (
|
|||
result = sourceExhausted; break;
|
||||
}
|
||||
/* Do this check whether lenient or strict */
|
||||
if (! isLegalUTF8(source, extraBytesToRead+1)) {
|
||||
if (!isLegalUTF8(source, extraBytesToRead+1)) {
|
||||
result = sourceIllegal;
|
||||
break;
|
||||
}
|
||||
|
@ -469,7 +469,7 @@ ConversionResult ConvertUTF8toUTF16 (
|
|||
result = sourceExhausted; break;
|
||||
}
|
||||
/* Do this check whether lenient or strict */
|
||||
if (! isLegalUTF8(source, extraBytesToRead+1)) {
|
||||
if (!isLegalUTF8(source, extraBytesToRead+1)) {
|
||||
result = sourceIllegal;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -631,7 +631,7 @@ LValue CodeGenFunction::EmitDeclRefLValue(const DeclRefExpr *E) {
|
|||
if (VD && (VD->isBlockVarDecl() || isa<ParmVarDecl>(VD) ||
|
||||
isa<ImplicitParamDecl>(VD))) {
|
||||
LValue LV;
|
||||
bool GCable = VD->hasLocalStorage() && ! VD->hasAttr<BlocksAttr>();
|
||||
bool GCable = VD->hasLocalStorage() && !VD->hasAttr<BlocksAttr>();
|
||||
if (VD->hasExternalStorage()) {
|
||||
LV = LValue::MakeAddr(CGM.GetAddrOfGlobalVar(VD),
|
||||
E->getType().getCVRQualifiers(),
|
||||
|
|
|
@ -1333,7 +1333,7 @@ Parser::OwningExprResult Parser::ParseBlockLiteralExpression() {
|
|||
}
|
||||
// Inform sema that we are starting a block.
|
||||
Actions.ActOnBlockArguments(ParamInfo, CurScope);
|
||||
} else if (! Tok.is(tok::l_brace)) {
|
||||
} else if (!Tok.is(tok::l_brace)) {
|
||||
ParseBlockId();
|
||||
} else {
|
||||
// Otherwise, pretend we saw (void).
|
||||
|
|
Loading…
Reference in New Issue