summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Basic/ConvertUTF.c4
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
-rw-r--r--clang/lib/Parse/ParseExpr.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Basic/ConvertUTF.c b/clang/lib/Basic/ConvertUTF.c
index 49430471c46..e5dd3e6bf57 100644
--- a/clang/lib/Basic/ConvertUTF.c
+++ b/clang/lib/Basic/ConvertUTF.c
@@ -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;
}
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 1db3b6ebc06..bf862e72c3d 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/lib/CodeGen/CGExpr.cpp
@@ -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(),
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp
index ebba576643b..20a8359d1d3 100644
--- a/clang/lib/Parse/ParseExpr.cpp
+++ b/clang/lib/Parse/ParseExpr.cpp
@@ -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).
OpenPOWER on IntegriCloud