summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-06-22 09:47:44 +0000
committerAlexander Kornienko <alexfh@google.com>2015-06-22 09:47:44 +0000
commit3d9d929e42028c353b0579a1a925391319664a60 (patch)
tree9fa63e425da0b4e62d2ddc1814b1f6069c7da892 /clang/lib/CodeGen/CGObjC.cpp
parentfaf4b655accf9fead77456243fd98da7fca46a20 (diff)
downloadbcm5719-llvm-3d9d929e42028c353b0579a1a925391319664a60.tar.gz
bcm5719-llvm-3d9d929e42028c353b0579a1a925391319664a60.zip
Fixed/added namespace ending comments using clang-tidy. NFC
The patch is generated using this command: $ tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \ -checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \ work/llvm/tools/clang To reduce churn, not touching namespaces spanning less than 10 lines. llvm-svn: 240270
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r--clang/lib/CodeGen/CGObjC.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp
index 9981fccb3e9..09f92ad3bee 100644
--- a/clang/lib/CodeGen/CGObjC.cpp
+++ b/clang/lib/CodeGen/CGObjC.cpp
@@ -448,7 +448,7 @@ struct FinishARCDealloc : EHScopeStack::Cleanup {
method);
}
};
-}
+} // namespace
/// StartObjCMethod - Begin emission of an ObjCMethod. This generates
/// the LLVM function and sets the other context used by
@@ -599,7 +599,7 @@ namespace {
CharUnits IvarSize;
CharUnits IvarAlignment;
};
-}
+} // namespace
/// Pick an implementation strategy for the given property synthesis.
PropertyImplStrategy::PropertyImplStrategy(CodeGenModule &CGM,
@@ -1296,7 +1296,7 @@ namespace {
flags.isForNormalCleanup() && useEHCleanupForArray);
}
};
-}
+} // namespace
/// Like CodeGenFunction::destroyARCStrong, but do it with a call.
static void destroyARCStrongWithStore(CodeGenFunction &CGF,
@@ -1724,7 +1724,7 @@ namespace {
CGF.EmitARCRelease(object, ARCImpreciseLifetime);
}
};
-}
+} // namespace
/// Produce the code for a CK_ARCConsumeObject. Does a primitive
/// release at the end of the full-expression.
@@ -2340,7 +2340,7 @@ namespace {
CGF.EmitObjCMRRAutoreleasePoolPop(Token);
}
};
-}
+} // namespace
void CodeGenFunction::EmitObjCAutoreleasePoolCleanup(llvm::Value *Ptr) {
if (CGM.getLangOpts().ObjCAutoRefCount)
OpenPOWER on IntegriCloud