summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmt.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/Sema/SemaStmt.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/Sema/SemaStmt.cpp')
-rw-r--r--clang/lib/Sema/SemaStmt.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp
index 50e4345216a..a7e56e7d06b 100644
--- a/clang/lib/Sema/SemaStmt.cpp
+++ b/clang/lib/Sema/SemaStmt.cpp
@@ -530,7 +530,7 @@ namespace {
return LHS < RHS.first;
}
};
-}
+} // namespace
/// CmpCaseVals - Comparison predicate for sorting case values.
///
@@ -1904,7 +1904,7 @@ VarDecl *BuildForRangeVarDecl(Sema &SemaRef, SourceLocation Loc,
return Decl;
}
-}
+} // namespace
static bool ObjCEnumerationCollection(Expr *Collection) {
return !Collection->isTypeDependent()
@@ -2116,7 +2116,7 @@ struct InvalidateOnErrorScope {
Decl *D;
bool Enabled;
};
-}
+} // namespace
/// BuildCXXForRangeStmt - Build or instantiate a C++11 for-range statement.
StmtResult
@@ -2952,7 +2952,7 @@ bool LocalTypedefNameReferencer::VisitRecordType(const RecordType *RT) {
S.MarkAnyDeclReferenced(T->getLocation(), T, /*OdrUse=*/false);
return true;
}
-}
+} // namespace
TypeLoc Sema::getReturnTypeLoc(FunctionDecl *FD) const {
TypeLoc TL = FD->getTypeSourceInfo()->getTypeLoc().IgnoreParens();
@@ -3489,7 +3489,7 @@ template <> struct DenseMapInfo<CatchHandlerType> {
template <> struct isPodLike<CatchHandlerType> {
static const bool value = true;
};
-}
+} // namespace llvm
namespace {
class CatchTypePublicBases {
@@ -3526,7 +3526,7 @@ public:
return false;
}
};
-}
+} // namespace
/// ActOnCXXTryBlock - Takes a try compound-statement and a number of
/// handlers and creates a try statement from them.
OpenPOWER on IntegriCloud