diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-06-22 09:47:44 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-06-22 09:47:44 +0000 |
commit | 3d9d929e42028c353b0579a1a925391319664a60 (patch) | |
tree | 9fa63e425da0b4e62d2ddc1814b1f6069c7da892 /clang/lib/CodeGen/CGClass.cpp | |
parent | faf4b655accf9fead77456243fd98da7fca46a20 (diff) | |
download | bcm5719-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/CGClass.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index 4d6a4e288dd..cfba8db6324 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -384,7 +384,7 @@ namespace { // external code might potentially access the vtable. void VisitCXXThisExpr(const CXXThisExpr *E) { UsesThis = true; } }; -} +} // namespace static bool BaseInitializerUsesThis(ASTContext &C, const Expr *Init) { DynamicThisUseChecker Checker(C); @@ -860,7 +860,7 @@ namespace { CodeGenFunction &CGF; SanitizerSet OldSanOpts; }; -} +} // namespace namespace { class FieldMemcpyizer { @@ -1228,7 +1228,7 @@ namespace { } }; -} +} // namespace /// EmitCtorPrologue - This routine generates necessary code to initialize /// base classes and non-static data members belonging to this constructor. @@ -1531,7 +1531,7 @@ namespace { flags.isForNormalCleanup() && useEHCleanupForArray); } }; -} +} // namespace /// \brief Emit all code that comes at the end of class's /// destructor. This is to call destructors on members and base classes @@ -1892,7 +1892,7 @@ namespace { /*Delegating=*/true, Addr); } }; -} +} // namespace void CodeGenFunction::EmitDelegatingCXXConstructorCall(const CXXConstructorDecl *Ctor, @@ -1945,7 +1945,7 @@ namespace { /*Delegating=*/false, Addr); } }; -} +} // namespace void CodeGenFunction::PushDestructorCleanup(const CXXDestructorDecl *D, llvm::Value *Addr) { |