summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2015-10-18 20:32:12 +0000
committerNick Lewycky <nicholas@mxc.ca>2015-10-18 20:32:12 +0000
commit4b81fc87ad0d952bea640f3f39233a75cc73d8cb (patch)
tree49948237c1b8a75fc671df70095d8de4a3cbcf2a /clang/lib/Serialization
parentb25445cb48a1641f9111b61b0e4ac61a313ccbb9 (diff)
downloadbcm5719-llvm-4b81fc87ad0d952bea640f3f39233a75cc73d8cb.tar.gz
bcm5719-llvm-4b81fc87ad0d952bea640f3f39233a75cc73d8cb.zip
No functionality change, just fix whitespace, a typo and remove an unnecessary
emacs mode marker. (Changes left behind from another patch that ended up not working out.) llvm-svn: 250666
Diffstat (limited to 'clang/lib/Serialization')
-rw-r--r--clang/lib/Serialization/ASTWriterDecl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Serialization/ASTWriterDecl.cpp b/clang/lib/Serialization/ASTWriterDecl.cpp
index 3379f9c455f..49eacea44e6 100644
--- a/clang/lib/Serialization/ASTWriterDecl.cpp
+++ b/clang/lib/Serialization/ASTWriterDecl.cpp
@@ -260,7 +260,7 @@ void ASTDeclWriter::Visit(Decl *D) {
// Source locations require array (variable-length) abbreviations. The
// abbreviation infrastructure requires that arrays are encoded last, so
// we handle it here in the case of those classes derived from DeclaratorDecl
- if (DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(D)){
+ if (DeclaratorDecl *DD = dyn_cast<DeclaratorDecl>(D)) {
Writer.AddTypeSourceInfo(DD->getTypeSourceInfo(), Record);
}
@@ -2101,7 +2101,7 @@ void ASTWriter::WriteDecl(ASTContext &Context, Decl *D) {
if (IDR == 0)
IDR = NextDeclID++;
- ID= IDR;
+ ID = IDR;
}
bool isReplacingADecl = ID < FirstDeclID;
OpenPOWER on IntegriCloud