summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2013-11-02 08:41:01 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2013-11-02 08:41:01 +0000
commit60eb3da57b3b416af8ab5f67ca2d7a6913906330 (patch)
tree52b133ff1a21646f43b75f9579eedfb45daa0a26 /clang/lib/Sema/SemaDecl.cpp
parent99a3ba76747158d8c1076ac19d1e7d829f17648d (diff)
downloadbcm5719-llvm-60eb3da57b3b416af8ab5f67ca2d7a6913906330.tar.gz
bcm5719-llvm-60eb3da57b3b416af8ab5f67ca2d7a6913906330.zip
Sema: trim trailing whitespace in Sema::ActOnLastBitfield
llvm-svn: 193916
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 69de78b11fb..6242bed831f 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -11823,17 +11823,17 @@ void Sema::ActOnFields(Scope *S, SourceLocation RecLoc, Decl *EnclosingDecl,
// It will accept flexible array in union and also
// as the sole element of a struct/class.
if (getLangOpts().MicrosoftExt) {
- if (Record->isUnion())
+ if (Record->isUnion())
Diag(FD->getLocation(), diag::ext_flexible_array_union_ms)
<< FD->getDeclName();
- else if (Fields.size() == 1)
+ else if (Fields.size() == 1)
Diag(FD->getLocation(), diag::ext_flexible_array_empty_aggregate_ms)
<< FD->getDeclName() << Record->getTagKind();
} else if (getLangOpts().CPlusPlus) {
- if (Record->isUnion())
+ if (Record->isUnion())
Diag(FD->getLocation(), diag::ext_flexible_array_union_gnu)
<< FD->getDeclName();
- else if (Fields.size() == 1)
+ else if (Fields.size() == 1)
Diag(FD->getLocation(), diag::ext_flexible_array_empty_aggregate_gnu)
<< FD->getDeclName() << Record->getTagKind();
} else if (!getLangOpts().C99) {
OpenPOWER on IntegriCloud